hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6830) BlockManager.addStorage fails when DN updates storage
Date Thu, 07 Aug 2014 03:38:12 GMT
Arpit Agarwal created HDFS-6830:

             Summary: BlockManager.addStorage fails when DN updates storage
                 Key: HDFS-6830
                 URL: https://issues.apache.org/jira/browse/HDFS-6830
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 2.5.0
            Reporter: Arpit Agarwal
            Assignee: Arpit Agarwal

The call to {{removeStorageInfo}} is wrong because the block is still in the DatanodeStorage's
list of blocks and the callee does not expect it to be.

      } else {
        // The block is on the DN but belongs to a different storage.
        // Update our state.
        added = false;      // Just updating storage. Return false.

It is a very unlikely code path to hit since storage updates usually occur via incremental
block reports.

This message was sent by Atlassian JIRA

View raw message