-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2.0, 3.0.0-alpha1
-
Fix Version/s: 2.3.0
-
Component/s: hdfs-client, test
-
Labels:None
-
Target Version/s:
-
Hadoop Flags:Reviewed
TestDFSClientExcludedNodes simulates failures of individual data nodes in the client's write pipeline and checks the client's ability to recover. HDFS-4246 added support for periodic "forgiveness" by caching the list of known bad data nodes with a periodic eviction. The test uses a 1 second cache expiration. This sometimes causes failed nodes to be forgiven too fast and violate the assumptions of the test.