ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myroslav Papirkovskyy (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-9967) Metrics monitor fails to start if old psutil installed
Date Fri, 06 Mar 2015 22:14:38 GMT

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

Myroslav Papirkovskyy resolved AMBARI-9967.
-------------------------------------------
    Resolution: Fixed

Pushed to trunk and branch-2.0.0

> Metrics monitor fails to start if old psutil installed
> ------------------------------------------------------
>
>                 Key: AMBARI-9967
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9967
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.0.0
>            Reporter: Myroslav Papirkovskyy
>            Assignee: Myroslav Papirkovskyy
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9967.patch
>
>
> Metric monitor fails to start.
> {code}
> Metrics issue:
> ERROR: ambari-metrics-monitor start failed. For more details, see /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out:
> ====================
>     server_process_main(stop_handler)
>   File "/usr/lib/python2.6/site-packages/resource_monitoring/main.py", line 63, in server_process_main
>     controller = Controller(config, stop_handler)
>   File "/usr/lib/python2.6/site-packages/resource_monitoring/core/controller.py", line
44, in __init__
>     hostinfo = HostInfo(config)
>   File "/usr/lib/python2.6/site-packages/resource_monitoring/core/host_info.py", line
46, in __init__
>     self.__host_static_info = self.get_host_static_info()
>   File "/usr/lib/python2.6/site-packages/resource_monitoring/core/host_info.py", line
203, in get_host_static_info
>     boot_time = psutil.boot_time()
> AttributeError: 'module' object has no attribute 'boot_time'
> ====================
> Monitor out at: /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out
> {code}
> In this case host had psutil 0.6 preinstalled.



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

Mime
View raw message