Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ambari Setup 'Select Stack' 404 error

Ambari Setup 'Select Stack' 404 error

New Contributor

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.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Installing_HDP_AMB/content/_hdp_24_repos...

- 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

16 REPLIES 16

Re: Ambari Setup 'Select Stack' 404 error

New Contributor

Re: Ambari Setup 'Select Stack' 404 error

New Contributor

@stoader it unfortunately gave the same result/error/feedback.

Re: Ambari Setup 'Select Stack' 404 error

New Contributor

Re: Ambari Setup 'Select Stack' 404 error

New Contributor

Yes it works from terminal

Re: Ambari Setup 'Select Stack' 404 error

New Contributor

@Savanna Endicott can you post ambari-server logs? It should have details of the error occurring while validating HDP repo URLs.

Re: Ambari Setup 'Select Stack' 404 error

New Contributor

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?

ambari-server-log.txt

Re: Ambari Setup 'Select Stack' 404 error

Expert Contributor

@Savanna Endicott

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

Re: Ambari Setup 'Select Stack' 404 error

New Contributor

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

Re: Ambari Setup 'Select Stack' 404 error

New Contributor

@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?

Don't have an account?
Coming from Hortonworks? Activate your account here