[ 
https://issues.apache.org/jira/browse/HDFS-8104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kai Zheng resolved HDFS-8104.
-----------------------------
       Resolution: Fixed
    Fix Version/s: HDFS-7285
     Hadoop Flags: Reviewed

> Make hard-coded values consistent with the system default schema first before 
> remove them
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-8104
>                 URL: https://issues.apache.org/jira/browse/HDFS-8104
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>             Fix For: HDFS-7285
>
>         Attachments: HDFS-8104-v1.patch, HDFS-8104-v2.patch
>
>
> It's not easy to remove the hard-coded values to use the system default 
> schema. We may need several steps/issues to cover relevant aspects. First of 
> all, let's make the hard-coded values consistent with the system default 
> schema first. This might not so easy, as experimental test indicated, when 
> change the following two lines, some tests then failed.
> {code}
> -  public static final byte NUM_DATA_BLOCKS = 3;
> -  public static final byte NUM_PARITY_BLOCKS = 2;
> +  public static final byte NUM_DATA_BLOCKS = 6;
> +  public static final byte NUM_PARITY_BLOCKS = 3;
> {code}



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

Reply via email to