[
https://issues.apache.org/jira/browse/AMBARI-14799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119757#comment-15119757
]
Dmytro Sen commented on AMBARI-14799:
-------------------------------------
tests failure is not related to this jira
> Metric Monitor crashes with NoSuchProcess exception
> ---------------------------------------------------
>
> Key: AMBARI-14799
> URL: https://issues.apache.org/jira/browse/AMBARI-14799
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Affects Versions: 2.2.1
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Fix For: 2.2.2
>
> Attachments: AMBARI-14799.patch
>
>
> {code}2016-01-25 23:18:18,102 [INFO] emitter.py:91 - server:
> http://host1:6188/ws/v1/timeline/metrics
> Exception in thread Thread-2201:
> Traceback (most recent call last):
> File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
> self.run()
> File "/usr/lib/python2.7/threading.py", line 1082, in run
> self.function(*self.args, **self.kwargs)
> File
> "/usr/lib/python2.6/site-packages/resource_monitoring/core/metric_collector.py",
> line 45, in process_event
> self.process_host_collection_event(event)
> File
> "/usr/lib/python2.6/site-packages/resource_monitoring/core/metric_collector.py",
> line 78, in process_host_collection_event
> metrics.update(self.host_info.get_process_info())
> File
> "/usr/lib/python2.6/site-packages/resource_monitoring/core/host_info.py",
> line 93, in get_process_info
> if STATUS_RUNNING == proc.status():
> File
> "/usr/lib/python2.6/site-packages/resource_monitoring/psutil/build/lib.linux-x86_64-2.7/psutil/__init__.py",
> line 555, in status
> return self._proc.status()
> File
> "/usr/lib/python2.6/site-packages/resource_monitoring/psutil/build/lib.linux-x86_64-2.7/psutil/_pslinux.py",
> line 704, in wrapper
> raise NoSuchProcess(self.pid, self._name)
> NoSuchProcess: process no longer exists (pid=3428)
> 2016-01-25 23:19:18,123 [INFO] emitter.py:91 - server:
> http://host1:6188/ws/v1/timeline/metrics{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)