hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xinwei Qin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11643) Define EC schema API for ErasureCodec
Date Wed, 01 Apr 2015 07:26:53 GMT

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

Xinwei Qin  commented on HADOOP-11643:
--------------------------------------

Hi [~drankye]
{quote}
catch (NumberFormatException e) {
      throw new IllegalArgumentException("Option value " +
          options.get(CHUNK_SIZE_KEY) + " for " + CHUNK_SIZE_KEY +
          " is found. It should be an integer");
{quote}
In the  patch v3, when check {{NUM_DATA_UNITS_KEY}} and {{NUM_PARITY_UNITS_KEY}}  value format,
the thrown messages are wrong, they should not be {{CHUNK_SIZE_KEY}}, but should be {{NUM_DATA_UNITS_KEY}}
and {{NUM_PARITY_UNITS_KEY}}.

Please review to verify.

> Define EC schema API for ErasureCodec
> -------------------------------------
>
>                 Key: HADOOP-11643
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11643
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: io
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>             Fix For: HDFS-7285
>
>         Attachments: HADOOP-11643-v3.patch, HADOOP-11643_v1.patch, HADOOP-11643_v2.patch
>
>
> As part of {{ErasureCodec}} API to be defined in HDFS-7699, {{ECSchema}} API will be
first defined here for better sync among related issues.



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

Mime
View raw message