安装 ambari-metrics-monitor HDP 2.3 时出错
Error while installing ambari-metrics-monitor HDP 2.3
我正在尝试在使用适用于 HDP 2.3 的 Ambari 2.1.1 的节点上安装 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
任何suggestions/help
能否请您检查一下 node.if 上的 ambari-agent 状态,它已经 运行 重新启动 ambari-agent 并尝试重新启动。
我只是通过 运行 手动构建了 ambari 代理
./build 在 ambari 代理的安装目录中,然后手动启动它,它对我有用
我正在尝试在使用适用于 HDP 2.3 的 Ambari 2.1.1 的节点上安装 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
任何suggestions/help
能否请您检查一下 node.if 上的 ambari-agent 状态,它已经 运行 重新启动 ambari-agent 并尝试重新启动。
我只是通过 运行 手动构建了 ambari 代理 ./build 在 ambari 代理的安装目录中,然后手动启动它,它对我有用