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-8827) Erasure Coding: Fix NPE when NameNode processes over-replicated striped blocks
Date Wed, 30 Sep 2015 19:35:49 GMT

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

Hudson commented on HDFS-8827:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2408 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2408/])
HDFS-8827. Erasure Coding: Fix NPE when NameNode processes (jing9: rev fbf7e81ca007e009b492e3b99060bbfb74394f46)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestAddOverReplicatedStripedBlocks.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java


> Erasure Coding: Fix NPE when NameNode processes over-replicated striped blocks
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-8827
>                 URL: https://issues.apache.org/jira/browse/HDFS-8827
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Takuya Fukudome
>            Assignee: Walter Su
>             Fix For: HDFS-7285
>
>         Attachments: HDFS-8827-HDFS-7285.04.patch, HDFS-8827-HDFS-7285.05.patch, HDFS-8827.1.patch,
HDFS-8827.2.patch, HDFS-8827.3.patch, processing-over-replica-npe.log
>
>
> In our test cluster, when namenode processed over replicated striped blocks, null pointer
exception(NPE) occurred. This happened under below situation: 1) some datanodes shutdown.
2) namenode recovers block group which lost internal blocks. 3) restart the stopped datanodes.
4) namenode processes over replicated striped blocks. 5) NPE occurs
> I think BlockPlacementPolicyDefault#chooseReplicaToDelete will return null in this situation
which causes this NPE problem.



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

Mime
View raw message