You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/09/30 17:58:44 UTC

[jira] [Commented] (HDFS-8104) Make hard-coded values consistent with the system default schema first before remove them

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

Hudson commented on HDFS-8104:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #2379 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2379/])
HDFS-8104 Make hard-coded values consistent with the system default (zhezhang: rev c4a0d88366aab16781ae132bb62a9c3aa2993b72)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestReadStripedFile.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestPlanReadPortions.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt


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