安装 ambari-metrics-monitor HDP 2.3 时出错
Posted
技术标签:
【中文标题】安装 ambari-metrics-monitor HDP 2.3 时出错【英文标题】:Error while installing ambari-metrics-monitor HDP 2.3 【发布时间】:2015-09-18 10:31:13 【问题描述】:我正在尝试在使用 Ambari 2.1.1 for 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
任何建议/帮助
【问题讨论】:
【参考方案1】:我只是通过运行手动构建了 ambari 代理 ./build 在ambari代理的安装目录中,然后手动启动它对我有用
【讨论】:
【参考方案2】:能否请您检查该节点上 ambari-agent 的状态。如果它已经在运行,请重新启动 ambari-agent 并尝试重新启动。
【讨论】:
以上是关于安装 ambari-metrics-monitor HDP 2.3 时出错的主要内容,如果未能解决你的问题,请参考以下文章