ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12605) SyntaxWarning: name 'is_logger_setup' is assigned to before global declaration
Date Fri, 31 Jul 2015 14:32:05 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649286#comment-14649286
] 

Hudson commented on AMBARI-12605:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3202 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3202/])
AMBARI-12605. SyntaxWarning: name 'is_logger_setup' is assigned to before global declaration
(aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3a4d890351e63031faafa235d647edbb8076bfff)
* ambari-agent/src/main/python/ambari_agent/main.py


> SyntaxWarning: name 'is_logger_setup' is assigned to before global declaration
> ------------------------------------------------------------------------------
>
>                 Key: AMBARI-12605
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12605
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.1
>
>
> Ambari agent shows warning on every ambari-server restart
>     
>     
>     [root@c6406 ~]# ambari-agent restart
>     Restarting ambari-agent
>     Verifying Python version compatibility...
>     Using python  /usr/bin/python2.6
>     Found ambari-agent PID: 2978
>     Stopping ambari-agent
>     /usr/lib/python2.6/site-packages/ambari_agent/main.py:314: SyntaxWarning: name 'is_logger_setup'
is assigned to before global declaration
>       global is_logger_setup
>     
> It's related to



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message