安装ambari-metrics-monitor HDP 2.3时出错

时间:2015-09-18 10:31:14

标签: hortonworks-data-platform ambari

我正在尝试使用Ambari 2.1.1为HDP 2.3在节点上安装ambari-metrics-monitor,但会出现以下错误

Starting ambari-metrics-monitor
Verifying ambari-metrics-monitor process status...
ERROR: ambari-metrics-monitor start failed. For more details, see /data/log/ambari-metrics-monitor/ambari-metrics-monitor.out:
====================
    from core.controller import Controller
  File "/usr/lib/python2.6/site-packages/resource_monitoring/core/controller.py", line 28, in <module>
    from metric_collector import MetricsCollector
  File "/usr/lib/python2.6/site-packages/resource_monitoring/core/metric_collector.py", line 23, in <module>
    from host_info import HostInfo
  File "/usr/lib/python2.6/site-packages/resource_monitoring/core/host_info.py", line 22, in <module>
    import psutil
  File "/usr/lib/python2.6/site-packages/resource_monitoring/psutil/build/lib.linux-x86_64-2.6/psutil/__init__.py", line 53, in <module>
    from psutil._common import memoize
ImportError: No module named _common

任何建议/帮助

2 个答案:

答案 0 :(得分:0)

我只是通过运行为ambari代理做了一个手动构建 ./build在ambari代理的安装目录中,然后手动启动它为我工作

答案 1 :(得分:-1)

请你检查一下该节点上的ambari-agent的状态。如果它已经运行,请重新启动ambari-agent并尝试重新开始。