Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When running w/o internet, Ambari will not be able to reach the "latest URL".
Currently, this gets logged as an ERROR in ambari-server.log. But when
something else goes wrong (completely unrelated), users might think this ERROR
log entry is the cause. But it's not.
Since w/o internet is a common case, this should not be ERROR to minimize this
chance for confusion.
21 Sep 2015 22:12:39,673 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
21 Sep 2015 22:12:39,673 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 (public-repo-1.hortonworks.com)
We should just make it INFO and maybe add a bit more info? Like this?
INFO [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 (public-repo-1.hortonworks.com). Using default repository values.
Attachments
Issue Links
- links to