Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13B1A186DD for ; Tue, 6 Oct 2015 15:55:28 +0000 (UTC) Received: (qmail 91665 invoked by uid 500); 6 Oct 2015 15:55:27 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 91633 invoked by uid 500); 6 Oct 2015 15:55:27 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 91608 invoked by uid 99); 6 Oct 2015 15:55:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2015 15:55:27 +0000 Date: Tue, 6 Oct 2015 15:55:27 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-13322) Should not log "unable to get latest URL" as ERROR MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)