[ https://issues.apache.org/jira/browse/AMBARI-13322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945239#comment-14945239
]
Hudson commented on AMBARI-13322:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #3603 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3603/])
AMBARI-13322. Should not log "unable to get latest URL" as ERROR (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ebccd7224d53ce4178c57cb0fa6379d6a6470c3b])
* ambari-common/src/main/python/resource_management/core/providers/system.py
* ambari-server/src/main/java/org/apache/ambari/server/state/stack/LatestRepoCallable.java
* ambari-common/src/main/python/resource_management/core/resources/system.py
> Should not log "unable to get latest URL" as ERROR
> --------------------------------------------------
>
> Key: AMBARI-13322
> URL: https://issues.apache.org/jira/browse/AMBARI-13322
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.3
>
>
> 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.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|