hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8104) Make hard-coded values consistent with the system default schema first before remove them
Date Fri, 10 Apr 2015 00:18:12 GMT

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

Zhe Zhang commented on HDFS-8104:
---------------------------------

Thanks for clarifying!

---
Zhe Zhang




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

Mime
View raw message