[
https://issues.apache.org/jira/browse/HDFS-2525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-2525:
------------------------------
Fix Version/s: 2.0.0-alpha
0.23.2
Setting fix versions - this was included in the 2.0.0 release as well as 0.23.2
> Race between BlockPoolSliceScanner and append
> ---------------------------------------------
>
> Key: HDFS-2525
> URL: https://issues.apache.org/jira/browse/HDFS-2525
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Affects Versions: 0.23.0, 0.24.0
> Reporter: Todd Lipcon
> Assignee: Brandon Li
> Priority: Critical
> Fix For: 0.23.2, 2.0.0-alpha
>
> Attachments: HDFS-2525-branch-0.23.patch, HDFS-2525.patch
>
>
> I wrote a test which runs append() in a loop on a single file with a single
> replica, appending 0~100 bytes each time. If this races with the
> BlockPoolSliceScanner, I observe the BlockPoolSliceScanner getting FNFE, then
> reporting the block as bad to the NN. This causes the writer thread to loop
> forever on completeFile() since it doesn't see a valid replica.
--
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