[
https://issues.apache.org/jira/browse/HDFS-2525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208714#comment-13208714
]
Hudson commented on HDFS-2525:
------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #1743 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1743/])
HDFS-2525. Race between BlockPoolSliceScanner and append. Contributed by
Brandon Li. (Revision 1244640)
Result = ABORTED
jitendra :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1244640
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockPoolSliceScanner.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestAppendDifferentChecksum.java
> Race between BlockPoolSliceScanner and append
> ---------------------------------------------
>
> Key: HDFS-2525
> URL: https://issues.apache.org/jira/browse/HDFS-2525
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: data-node
> Affects Versions: 0.23.0, 0.24.0
> Reporter: Todd Lipcon
> Assignee: Brandon Li
> Priority: Critical
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira