ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ward Viaene (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-14209) Ambari-metrics-collector fails when NFS share becomes stale
Date Fri, 04 Dec 2015 09:10:11 GMT
Ward Viaene created AMBARI-14209:
------------------------------------

             Summary: Ambari-metrics-collector fails when NFS share becomes stale
                 Key: AMBARI-14209
                 URL: https://issues.apache.org/jira/browse/AMBARI-14209
             Project: Ambari
          Issue Type: Bug
          Components: ambari-metrics
    Affects Versions: 2.1.2
            Reporter: Ward Viaene


Ambari-metrics-collector fails when a NFS share on the node becomes stale. ambari-metrics-collector
shows an uncaught exception in the logfiles. 

Exception in thread Thread-54:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 1083, 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
75, in process_host_collection_event
    metrics.update(self.host_info.get_combined_disk_usage())
  File "/usr/lib/python2.6/site-packages/resource_monitoring/core/host_info.py", line 180,
in get_combined_disk_usage
    usage = psutil.disk_usage(part.mountpoint)
  File "/usr/lib/python2.6/site-packages/resource_monitoring/psutil/build/lib.linux-x86_64-2.7/psutil/__init__.py",
line 1690, in disk_usage
    return _psplatform.disk_usage(path)
  File "/usr/lib/python2.6/site-packages/resource_monitoring/psutil/build/lib.linux-x86_64-2.7/psutil/_psposix.py",
line 121, in disk_usage
    st = os.statvfs(path)
OSError: [Errno 116] Stale file handle: '/mnt/nfs-share'




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message