ambari-dev mailing list archives

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

             Summary: Metrics monitor fails to start if old psutil installed
                 Key: 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

Metric monitor fails to start.
Metrics issue:
ERROR: ambari-metrics-monitor start failed. For more details, see /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out:
  File "/usr/lib/python2.6/site-packages/resource_monitoring/", line 63, in server_process_main
    controller = Controller(config, stop_handler)
  File "/usr/lib/python2.6/site-packages/resource_monitoring/core/", line 44,
in __init__
    hostinfo = HostInfo(config)
  File "/usr/lib/python2.6/site-packages/resource_monitoring/core/", line 46,
in __init__
    self.__host_static_info = self.get_host_static_info()
  File "/usr/lib/python2.6/site-packages/resource_monitoring/core/", 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

In this case host had psutil 0.6 preinstalled.

This message was sent by Atlassian JIRA

View raw message