hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8497) ErasureCodingWorker fails to do decode work
Date Mon, 01 Jun 2015 02:34:17 GMT

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

Kai Zheng commented on HDFS-8497:
---------------------------------

Do you know where was failure from? The patch isn't correct (actually for metrix stuff). Is
the following change to fix the failure?
{code}
         for (int i = 0; i < dataBlkNum + parityBlkNum; i++) {
           if (inputs[i] == null) {
-            inputs[i] = ByteBuffer.allocate(toRecoverLen);
             indices4Decode[m++] = i;
           }
         }
{code}

> ErasureCodingWorker fails to do decode work
> -------------------------------------------
>
>                 Key: HDFS-8497
>                 URL: https://issues.apache.org/jira/browse/HDFS-8497
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Li Bo
>            Assignee: Li Bo
>         Attachments: HDFS-8497-HDFS-7285-01.patch
>
>
> When I run the unit test in HDFS-8449, it fails due to the decode error in ErasureCodingWorker.



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

Mime
View raw message