Member since
04-07-2016
3
Posts
0
Kudos Received
0
Solutions
04-11-2016
03:53 PM
This worked just fine!! Thanks @Predrag Minovic!
... View more
04-08-2016
04:14 PM
I have 7 nodes configured as follows: 3 MasterNodes, 1 AdminNode 3 DataNodes. The ambari-metrics-monitor is starting fine in the DataNodes but for the rest of nodes is throwing the following error: 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 89, in <module>
import psutil._pslinux as _psplatform
File "/usr/lib/python2.6/site-packages/resource_monitoring/psutil/build/lib.linux-x86_64-2.6/psutil/_pslinux.py", line 20, in <module>
from psutil import _common
ImportError: cannot import name _common
I have uninstalled and installed again the ambari-metrics-monitor with no success. Any thoughts or alternatives to solve this problem?? I have a single Python v2.2.6 in all nodes. HDP 2.4. Ambari 2.2.1
... View more
Labels: