hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7994) Detect if resevered EC Block ID is already used
Date Wed, 30 Sep 2015 16:02:11 GMT

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

Hudson commented on HDFS-7994:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #8548 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8548/])
HDFS-7994. Detect if resevered EC Block ID is already used during (zhezhang: rev 4c039b0876bb9399c2b4a751ad7b99b36349117b)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormat.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSImage.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogLoader.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/FSImageFormatPBSnapshot.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSEditLogLoader.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatPBINode.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt


> 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
>          Components: namenode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Hui Zheng
>             Fix For: HDFS-7285
>
>         Attachments: HDFS-7994_001.patch, HDFS-7994_002.patch
>
>
> 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)

Mime
View raw message