- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
ImportError: cannot import name _common. Unable to start metrics monitor
- Labels:
-
Apache Spark
Created 02-02-2018 08:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm having an issue starting the metrics monitor on one of my nodes.
I get the below error.
"ImportError: cannot import name _common"
Created 02-02-2018 10:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
.
Created 02-02-2018 11:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.