hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3391) TestPipelinesFailover#testLeaseRecoveryAfterFailover is failing
Date Fri, 11 May 2012 06:34:48 GMT

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

Uma Maheswara Rao G commented on HDFS-3391:
-------------------------------------------

In one way HDFS-3157 is incorrectly handled. Because, It was creating new block info. But
unfortunately new blockInfo ctor sets the inode as null. When we are marking it corrupt, that
will just invalidate the blocks and will say block does not belongs any file. When we set
the inode from storedBlock to newly created BlockInfo also doesn't help, strangely I have
seen triplets does not contain that block info. Now it is able add to corrupt replicas, but
nodeIterator for BlockMap does not have information about this block.
{noformat}
2012-05-10 21:30:04,378 WARN  blockmanagement.BlockManager (BlockManager.java:createLocatedBlock(666))
- Inconsistent number of corrupt replicas for blk_-6411755644530997250_1003 blockMap has 0
but corrupt replicas map has 1
2012-05-10 21:30:04,381 WARN  blockmanagement.BlockManager (BlockManager.java:createLocatedBlock(666))
- Inconsistent number of corrupt replicas for blk_-6411755644530997250_1003 blockMap has 0
but corrupt replicas map has 1{noformat}

Let me dig into it. Is there any other bug exist in this lines which we did not notice.
                
> TestPipelinesFailover#testLeaseRecoveryAfterFailover is failing
> ---------------------------------------------------------------
>
>                 Key: HDFS-3391
>                 URL: https://issues.apache.org/jira/browse/HDFS-3391
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Arun C Murthy
>            Assignee: Todd Lipcon
>            Priority: Critical
>         Attachments: hdfs-3391.txt
>
>
> Running org.apache.hadoop.hdfs.server.blockmanagement.TestRBWBlockInvalidation
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.208 sec <<<
FAILURE!
> --
> Running org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover
> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 81.195 sec <<<
FAILURE!
> --

--
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

        

Mime
View raw message