ambari-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/AMBARI-12605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Onischuk resolved AMBARI-12605.
--------------------------------------
    Resolution: Fixed

Committed to branch-2.1 and trunk

> 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