Created 05-10-2017 09:30 AM
Hi, when I try to use Ambari's default for HDP2.6 and Ubuntu14, I get
Please make sure all repository URLs are valid before proceeding
I try wget:
ed@master:~$ wget -nv http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3 http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3: 2017-05-10 10:23:22 ERROR 404: Not Found. ed@master:~$ wget -nv http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ubuntu12 http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ubuntu12: 2017-05-10 10:23:43 ERROR 404: Not Found. ed@master:~$
Is it just me who can't see them, or do these repos work for anyone else?
Created 05-11-2017 06:26 PM
@ed day - Ambari will not add the repo file name (hdp.list) in the url. Thats why when you do wget on that url you get 404 error. But when you include the hdp.list in the url you will not get the 404 error.
➜ ~ wget -nv http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3/ http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3/: 2017-05-11 11:26:26 ERROR 404: Not Found. ➜ ~ wget -nv http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3/hdp.list 2017-05-11 11:17:46 URL:http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3/hdp.list [199/199] -> "hdp.list" [1] ➜ ~
This is the expected and correct behavior. Please proceed with the URL without the repo file name.
Created 05-10-2017 09:49 AM
You can find the repo links here: https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-installation/content/hdp_26_repos...
When you do "wget" then please also include the File Name (hdp.list) in the URL else it wont find it.
Example:
wget -nv http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3/hdp.list
.
Also Ubuntu 12 is not listed in the supported config anymore for HDP2.6:: http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_support-matrices/content/ch_matrices-hdp....
Created 05-10-2017 01:32 PM
Thanks Sen but those are the base repo links generated by Ambari, not me.
Created 05-11-2017 06:26 PM
@ed day - Ambari will not add the repo file name (hdp.list) in the url. Thats why when you do wget on that url you get 404 error. But when you include the hdp.list in the url you will not get the 404 error.
➜ ~ wget -nv http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3/ http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3/: 2017-05-11 11:26:26 ERROR 404: Not Found. ➜ ~ wget -nv http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3/hdp.list 2017-05-11 11:17:46 URL:http://public-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.6.0.3/hdp.list [199/199] -> "hdp.list" [1] ➜ ~
This is the expected and correct behavior. Please proceed with the URL without the repo file name.