Created 07-14-2016 10:05 AM
Hello,
I am having a very similar problem as @Rahul Mishra and @Ahmad Debbas, however the results of suggestions are different for me, and the final solution does not work for me.
I have gone through the Hortonworks Ambari server setup until Section 3 part 4 'Select Stack'. With the default filling in of the URLs and the deselection of the OS except for the one I'm using, I get
400: Bad Request java.lang.illegalargumentexception: Could not access base [link] . connect timed out errlog-1307.png
Ambari server is running, I am using root user for all of the above commands, and I am using RHEL6
What I have tried:
- Alternative links from page below, all behave the same way.
- service iptables stop : stopped firewall (if there is one)
- wget www.google.com : works, behaves correctly, internet is O.K. Also downloaded ambari using wget with no problems.
- wget http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.0.0 : resolves proxy, connects to proxy, awaits response and then returns 404 Not Found
- curl http://public-repo-1.hortonworks.com returns stack as per @Manish Gupta suggested
- telnet public-repo-1.hortonworks.com 80 : connection times out
I would really appreciate any help or suggestions to find the route of the problem.
Best Regards,
Savanna
Created 07-14-2016 10:23 AM
Created 07-14-2016 10:25 AM
@stoader it unfortunately gave the same result/error/feedback.
Created 07-14-2016 11:17 AM
wget http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.4.0/hdp.repo
Does the above work for you?
Created 07-14-2016 11:22 AM
Yes it works from terminal
Created 07-14-2016 11:27 AM
@Savanna Endicott can you post ambari-server logs? It should have details of the error occurring while validating HDP repo URLs.
Created 07-14-2016 11:43 AM
It just shows the connection timing out I think... For some reason the timings are all weird as well. Are the tests from the UI URL inserts supposed to appear here too or just from terminal?
Created 07-14-2016 12:36 PM
Followed the url https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Installing_HDP_AMB/content/_download_the... and it worked fine for HDP 2.3.
Ambari server version is ambari-server.x86_64 0:2.2.2.0-460 and base HDP repo is http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.6.0
What is ambari-server version you are using
Created 07-14-2016 12:38 PM
Yes as I mentioned I made it through to section 3 part 4 'select stack' which is where I'm stuck. So I completed that part of the setup with no problems to download HDP 2.3. I am using ambari server version 2.1.0
Created 07-14-2016 12:52 PM
@Savanna Endicott when you tried 'wget http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.4.0/hdp.repo' did you actually tried it from the host ambari-server is running?