[ https://issues.apache.org/jira/browse/HDFS-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HDFS-4633: -------------------------------- Attachment: HDFS-4633.2.patch Thanks, Arpit. Here is an updated patch that uses the timing values you recommended. I retested this on multiple machines, and it passed consistently, so I think these settings will work fine. > TestDFSClientExcludedNodes fails sporadically if excluded nodes cache expires > too quickly > ----------------------------------------------------------------------------------------- > > Key: HDFS-4633 > URL: https://issues.apache.org/jira/browse/HDFS-4633 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs-client, test > Affects Versions: 3.0.0 > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Attachments: HDFS-4633.1.patch, HDFS-4633.2.patch > > > {{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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira