hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Mahesh (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1059) completeFile loops forever if the block's only replica has become corrupt
Date Mon, 14 Jun 2010 11:43:14 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878542#action_12878542

Uma Mahesh commented on HDFS-1059:

I am debugging this issue.
Bu i could not replicate it.Butter if you share the test :  TestReadWhileWriting

> completeFile loops forever if the block's only replica has become corrupt
> -------------------------------------------------------------------------
>                 Key: HDFS-1059
>                 URL: https://issues.apache.org/jira/browse/HDFS-1059
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
> If a writer is appending to a block with replication factor 1, and that block has become
corrupt, a reader will report the corruption to the NN. Then when the writer tries to complete
the file, it will loop forever with an error like:
>     [junit] 2010-03-21 17:40:08,093 INFO  namenode.FSNamesystem (FSNamesystem.java:checkFileProgress(1613))
- BLOCK* NameSystem.checkFileProgress: block blk_-4256412191814117589_1001{blockUCState=COMMITTED,
primaryNodeIndex=-1, replicas=[ReplicaUnderConstruction[|RBW]]} has not reached
minimal replication 1
>     [junit] 2010-03-21 17:40:08,495 INFO  hdfs.DFSClient (DFSOutputStream.java:completeFile(1435))
- Could not complete file /TestReadWhileWriting/file1 retrying...
> Should add tests that cover the case of a writer appending to a block that is corrupt
while a reader accesses it.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message