Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

ImportError: cannot import name _common. Unable to start metrics monitor

avatar
Explorer

I'm having an issue starting the metrics monitor on one of my nodes.

I get the below error.

"ImportError: cannot import name _common"


metrics-monitor.png
2 REPLIES 2

avatar
Master Mentor

@Swaapnika Guntaka

Looks like the "psutils" libraries are causing the issue. So please try the following steps to fix it:

1. SSH to the ambari metric monitor host and then stop the ams monitor.

2. Now rebuild the "psutil" module.

# cd /usr/lib/python2.6/site-packages/resource_monitoring
# python psutil/build.py

3. Now restart ambari metric monitors

.

avatar
Explorer

I still face the issue. I'm doing a non-root installation. I build the psutil as root which went fine. But when I try to restart the metrics monitor it fails.