You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2015/03/26 08:09:52 UTC

[jira] [Created] (HDFS-7994) Detect if resevered EC Block ID is already used

Tsz Wo Nicholas Sze created HDFS-7994:
-----------------------------------------

             Summary: Detect if resevered EC Block ID is already used
                 Key: HDFS-7994
                 URL: https://issues.apache.org/jira/browse/HDFS-7994
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Tsz Wo Nicholas Sze
            Assignee: Tsz Wo Nicholas Sze


Since random block IDs were supported by some early version of HDFS, the block ID reserved for EC blocks could be already used by some existing blocks in a cluster. During NameNode startup, it detects if there are reserved EC block IDs used by non-EC blocks. If it is the case, NameNode will do an additional blocksMap lookup when there is a miss in a blockGroupsMap lookup.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)