[ https://issues.apache.org/jira/browse/HDFS-4065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477447#comment-13477447 ]
Brandon Li commented on HDFS-4065: ---------------------------------- +1, the patch looks good to me. Thanks for the fixing, Chris. Nitpicking: " We must shut down the cluster so that threads...". It's not a problem on Unix, so far it's a problem only on Windows. > TestDFSShell.testGet sporadically fails attempting to corrupt block files due > to race condition > ----------------------------------------------------------------------------------------------- > > Key: HDFS-4065 > URL: https://issues.apache.org/jira/browse/HDFS-4065 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 1-win > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Attachments: HDFS-4065-branch-1-win.patch > > > TestDFSShell.testGet attempts to simulate corruption of block files in order > to test hadoop fs -get with the -ignoreCrc option. It is possible that the > data node's DataXceiver thread has not yet closed the block file. This > causes a locking violation on Windows, so the test fails. -- 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