ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kai zhao (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMBARI-9510) Metric Monitor can not be started
Date Thu, 20 Jul 2017 08:59:00 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-9510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16094388#comment-16094388
] 

kai zhao edited comment on AMBARI-9510 at 7/20/17 8:58 AM:
-----------------------------------------------------------

{color:red}I have deleted the bulid dir~~~!{color}

Using python  /usr/bin/python2.7
Checking for previously running Metric Monitor...
Starting ambari-metrics-monitor
Verifying ambari-metrics-monitor process status...
ERROR: ambari-metrics-monitor start failed. For more details, see /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out:
====================
    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.7/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.7/psutil/_pslinux.py",
line 20, in <module>
    from psutil import _common
ImportError: cannot import name _common
====================



*{color:red}Stil got this error...Any other solutions?{color}*


was (Author: wanderingeachday):
Using python  /usr/bin/python2.7
Checking for previously running Metric Monitor...
Starting ambari-metrics-monitor
Verifying ambari-metrics-monitor process status...
ERROR: ambari-metrics-monitor start failed. For more details, see /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out:
====================
    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.7/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.7/psutil/_pslinux.py",
line 20, in <module>
    from psutil import _common
ImportError: cannot import name _common
====================



*{color:red}Stil got this error...Any other solutions?{color}*

> Metric Monitor can not be started
> ---------------------------------
>
>                 Key: AMBARI-9510
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9510
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9510.patch
>
>
> After deploying Metric Monitor can not be started.
> /var/log/ambari-metrics-monitor/ambari-metrics-monitor.out contains:
> psutil binaries need to be built by running, psutil/build.py manually or by running a,
mvn clean package, command.
> {noformat}
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/resource_monitoring/main.py", line 27, in <module>
>     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 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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message