summaryrefslogtreecommitdiff
path: root/ambari-metrics/ambari-metrics-host-monitoring
diff options
context:
space:
mode:
authorFlorian Barca <fbarca@hortonworks.com>2014-12-30 13:23:57 -0800
committerFlorian Barca <fbarca@hortonworks.com>2014-12-30 13:25:22 -0800
commitb768b9e9562aa81ad7bfc80516f6e342083652de (patch)
treee29d282ea67c58f39dbcf8b65b44ab7c7525dccf /ambari-metrics/ambari-metrics-host-monitoring
parent321cdbf3673430c6578011cd5c4541938cca0e24 (diff)
AMBARI-8963 Metric Monitor start fails on CentOS after WIN changes
Fixed the psutils path
Diffstat (limited to 'ambari-metrics/ambari-metrics-host-monitoring')
-rw-r--r--ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/__init__.py b/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/__init__.py
index 15ad117caa..eb87cb5b64 100644
--- a/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/__init__.py
+++ b/ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/__init__.py
@@ -21,7 +21,7 @@ limitations under the License.
import os, sys
path = os.path.abspath(__file__)
-path = os.path.normpath(os.path.join(os.path.dirname(path), "psutil", "build"))
+path = os.path.join(os.path.dirname(os.path.dirname(path)), "psutil", "build")
for dir in os.walk(path).next()[1]:
if 'lib' in dir: