Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6CC7E200B81 for ; Tue, 13 Sep 2016 10:03:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6B504160AD2; Tue, 13 Sep 2016 08:03:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B0CD1160AC6 for ; Tue, 13 Sep 2016 10:03:21 +0200 (CEST) Received: (qmail 150 invoked by uid 500); 13 Sep 2016 08:03:20 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 135 invoked by uid 99); 13 Sep 2016 08:03:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2016 08:03:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 85CAA2C1B79 for ; Tue, 13 Sep 2016 08:03:20 +0000 (UTC) Date: Tue, 13 Sep 2016 08:03:20 +0000 (UTC) From: "Kai Zheng (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6774) Add support for HDFS erasure code policy to TestDFSIO MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Sep 2016 08:03:22 -0000 [ https://issues.apache.org/jira/browse/MAPREDUCE-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15486600#comment-15486600 ] Kai Zheng commented on MAPREDUCE-6774: -------------------------------------- Thanks [~Sammi] for the work! It looks good overall. Suggestions: {code} boolean isStoragePolicyValid(String storagePolicy, FileSystem fs) boolean isErasureCodePolicyValid(String erasureCodePolicyName, FileSystem fs, TestType testType) throws IOException {code} would be good to: {code} void checkStoragePolicy(String storagePolicy, FileSystem fs) throws Exception void checkErasureCodePolicy(String erasureCodePolicyName, FileSystem fs, TestType testType) throws Exception {code} > Add support for HDFS erasure code policy to TestDFSIO > ----------------------------------------------------- > > Key: MAPREDUCE-6774 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6774 > Project: Hadoop Map/Reduce > Issue Type: New Feature > Reporter: SammiChen > Assignee: SammiChen > Attachments: MAPREDUCE-6774-v1.patch, MAPREDUCE-6774-v2.patch, MAPREDUCE-6774-v3.patch > > > HDFS erasure code policy allows user to store directory and file to predefined erasure code policies. Currently only 3x replication is supported in TestDFSIO implementation. This is going to add an new option to enable tests of files with erasure code policy enabled. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org