-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34171/
-----------------------------------------------------------

Review request for Ambari, Andrew Onischuk, Dmitro Lisnichenko, and Sid Wagle.


Bugs: AMBARI-10882
    https://issues.apache.org/jira/browse/AMBARI-10882


Repository: ambari


Description
-------

The 'df' checks traverses the entire fstab (including the automounted user 
directories). This causes the timeout for each mounted user directory to reset. 
And since we are checking so often (even every few heartbeats), these 
automounted user directory never unmount.
Adding the '-l' to the 'df' check, would only parse the local disks, and allow 
the automounted user folders to timeout properly.
This should be a configurable property to skip or not.


Diffs
-----

  ambari-agent/conf/unix/ambari-agent.ini 173bb51 
  ambari-agent/conf/windows/ambari-agent.ini 61a3ad9 
  ambari-agent/src/main/python/ambari_agent/AmbariConfig.py 13e9f03 
  ambari-agent/src/main/python/ambari_agent/Controller.py ccd1233 
  ambari-agent/src/main/python/ambari_agent/Hardware.py 5fbe2f8 
  ambari-agent/src/main/python/ambari_agent/Heartbeat.py 27aef04 
  ambari-agent/src/main/python/ambari_agent/HostInfo.py 98c8045 
  ambari-agent/src/main/python/ambari_agent/RecoveryManager.py 12ba75d 
  ambari-agent/src/test/python/ambari_agent/TestHostInfo.py 9af45ac 
  
ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java
 ab17db6 
  
ambari-server/src/main/java/org/apache/ambari/server/agent/RegistrationResponse.java
 8768a46 
  
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
 3ceb05b 

Diff: https://reviews.apache.org/r/34171/diff/


Testing
-------

Unit tests are in progress


Thanks,

Dmytro Sen

Reply via email to