Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E0ECE17A98 for ; Thu, 9 Apr 2015 08:24:12 +0000 (UTC) Received: (qmail 5355 invoked by uid 500); 9 Apr 2015 08:24:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 5280 invoked by uid 500); 9 Apr 2015 08:24:12 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 5267 invoked by uid 99); 9 Apr 2015 08:24:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 08:24:12 +0000 Date: Thu, 9 Apr 2015 08:24:12 +0000 (UTC) From: "Kai Zheng (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-8104) Make hard-coded values consistent with the system default schema first before remove them MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)