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

Doroszlai, Attila commented on AMBARI-19470:
--------------------------------------------

Hey [~Tim Thorpe], nice catch!  Could you please also fix one more occurence of 
the same typo?  Thanks.

{noformat:title=ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py}
 52     if not sudo.path_exists(pidfile):
 53       Logger.warn("Pid file doesn't exist after starting of the component.")
{noformat}

> Error in ru_execute_tasks.py - Logger has no attribute 'warn'
> -------------------------------------------------------------
>
>                 Key: AMBARI-19470
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19470
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Tim Thorpe
>            Assignee: Tim Thorpe
>             Fix For: trunk, 2.5.0
>
>         Attachments: AMBARI-19470.patch
>
>
> Traceback (most recent call last):
>   File "/var/lib/ambari- 
> agent/cache/custom_actions/scripts/ru_execute_tasks.py", line 156, in 
> <module> ExecuteUpgradeTasks().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 219, inexecute method(env)
>   File 
> "/var/lib/ambari-agent/cache/custom_actions/scripts/ru_execute_tasks.py", 
> line 94, in actionexecute resolve_ambari_config()
>   File 
> "/var/lib/ambari-agent/cache/custom_actions/scripts/ru_execute_tasks.py", 
> line 82, in resolve_ambari_config Logger.warn(err)
> AttributeError: class Logger has no attribute 'warn'



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

Reply via email to