hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laxman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2290) Block with corrupt replica is not getting replicated
Date Wed, 21 Sep 2011 14:01:11 GMT

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

Laxman commented on HDFS-2290:
------------------------------

I can see this issue exists in trunk as well.

I just rebased the patch to trunk and verified.

Following test-cases (provided in patch) are failing without the fix.
{code}
testWhenDecreasingReplication
testWithReplicationFactorAsOne
{code}

After fix, all the test-cases are passing. So IMO this issue needs to be fixed in trunk as
well.

This is just an attempt to fix the issue in trunk as well. Thanks to Binoy and Konstantin
for the patch. I can upload the patch for trunk if it is fine with you.

> Block with corrupt replica is not getting replicated
> ----------------------------------------------------
>
>                 Key: HDFS-2290
>                 URL: https://issues.apache.org/jira/browse/HDFS-2290
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Shvachko
>            Assignee: Benoy Antony
>             Fix For: 0.22.0
>
>         Attachments: HDFS-2290_0.22.patch, HDFS-2290_022.patch, HDFS-2290_022.patch
>
>
> A block has one replica marked as corrupt and two good ones. countNodes() correctly detects
that there are only 2 live replicas, and fsck reports the block as under-replicated. But ReplicationMonitor
never schedules replication of good replicas.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message