[ 
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)

Reply via email to