Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14799

Metric Monitor crashes with NoSuchProcess exception

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • ambari-metrics
    • None

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dsen Dmytro Sen
            dsen Dmytro Sen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment