Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Could not load the URI from http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json

avatar
Super Collaborator

Hi,

I'm trying to create a cluster using local repo (without internet). I've successfully install all prerequisites up to ambari-server.

Now im having issues starting ambari-server.

01 Jul 2018 02:41:20,645  INFO [Stack Version Loading Thread] RepoUrlInfoCallable:94 - Loading latest URL info from http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json for stacks HDP-2.3.GlusterFS,HDP-2.3.ECS,HDP-2.5,HDP-2.6,HDP-2.3,HDP-2.4,HDP-2.1.GlusterFS,HDP-2.1,HDP-2.2,HDP-2.0
01 Jul 2018 02:41:20,665  INFO [Stack Version Loading Thread] RepoUrlInfoCallable:107 - Could not load the URI from http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json, stack defaults will be used
01 Jul 2018 02:41:20,665  INFO [Stack Version Loading Thread] RepoUrlInfoCallable:110 - Loaded URI http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json for stacks HDP-2.3.GlusterFS,HDP-2.3.ECS,HDP-2.5,HDP-2.6,HDP-2.3,HDP-2.4,HDP-2.1.GlusterFS,HDP-2.1,HDP-2.2,HDP-2.0 in 23ms
01 Jul 2018 02:41:20,666  INFO [main] StackContext:208 - Loaded urlinfo in 29ms
01 Jul 2018 02:41:20,667 ERROR [main] StackContext:217 - Could not load repo results

Does ambari-server needs internet connection to start correctly?

1 ACCEPTED SOLUTION

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
5 REPLIES 5

avatar
Super Collaborator

So I replicate the issue.

Working ambari-server

1. install all prerequisites using local repo without internet

2. allow internet connection

3. install ambari-server (using local repor) and start

4. working

Problematic

1. install all prerequisites using local repo without internet

2. install ambari-server (using local repor) and start -- here comes the prob. - start will fail coz of error message above.

3. restart ambari-server -- service will start but it wont listen to port 8080

Any suggestions?

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
New Contributor

Hi Michael,

I am getting below error while registering host in ambari, I am a beginner could you help me in this in a simple manner.

Feb 2019 02:25:20,175 INFO [main] CertificateManager:68 - Initialization of root certificate
09 Feb 2019 02:25:20,176 INFO [main] CertificateManager:70 - Certificate exists:true
09 Feb 2019 02:25:20,306 ERROR [Stack Version Loading Thread] LatestRepoCallable:93 - Could not load the URI for stack HDP-2.1.GlusterFS from http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json (Network is unreachable)
09 Feb 2019 02:25:20,306 INFO [Stack Version Loading Thread] LatestRepoCallable:74 - Loading latest URL info for stack HDP-2.1 from http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json
09 Feb 2019 02:25:20,307 ERROR [Stack Version Loading Thread] LatestRepoCallable:93 - Could not load the URI for stack HDP-2.1 from http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json (Network is unreachable)
09 Feb 2019 02:25:20,308 INFO [Stack Version Loading Thread] LatestRepoCallable:74 - Loading latest URL info for stack HDP-2.2 from http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json
09 Feb 2019 02:25:20,308 ERROR [Stack Version Loading Thread] LatestRepoCallable:93 - Could not load the URI for stack HDP-2.2 from http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json (Network is unreachable)
09 Feb 2019 02:25:20,308 INFO [Stack Version Loading Thread] LatestRepoCallable:74 - Loading latest URL info for stack HDP-2.3 from http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json
09 Feb 2019 02:25:20,309 ERROR [Stack Version Loading Thread] LatestRepoCallable:93 - Could not load the URI for stack HDP-2.3 from http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json (Network is unreachable)
09 Feb 2019 02:25:20,309 INFO [Stack Version Loading Thread] LatestRepoCallable:74 - Loading latest URL info for stack HDP-2.3.GlusterFS from http://s3.amazonaws.com/dev.hortonworks.com/HDP/hdp_urlinfo.json
09 Feb 2019 02:25:20,365 ERROR [Stack Version Loading Thread] LatestRepoCallable:93 - Could not load the URI for stack HDP-2.3.GlusterFS from http://s3.amazonaws.com/dev.hortonworks.com/HDP/hdp_urlinfo.json (Network is unreachable)

avatar
Explorer

@muanang What can be the other reasons for this error. I faced the same issue as was using aliases. I corrected the same on all servers , stopped and restarted ambari-server but find the same issue

avatar
New Contributor

I am using my local repo.