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 02A461161C for ; Sat, 23 Aug 2014 11:31:15 +0000 (UTC) Received: (qmail 56586 invoked by uid 500); 23 Aug 2014 11:31:14 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 56547 invoked by uid 500); 23 Aug 2014 11:31:14 -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 56536 invoked by uid 99); 23 Aug 2014 11:31:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2014 11:31:14 +0000 Date: Sat, 23 Aug 2014 11:31:14 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6899) Allow changing MiniDFSCluster volumes per DN and capacity per volume 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-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14107977#comment-14107977 ] Hudson commented on HDFS-6899: ------------------------------ SUCCESS: Integrated in Hadoop-Yarn-trunk #655 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/655/]) HDFS-6899. Allow changing MiniDFSCluster volumes per DN and capacity per volume. (Arpit Agarwal) (arp: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1619970) * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsVolumeImpl.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSClusterWithNodeGroup.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestBlockHasMultipleReplicasOnSameDN.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDnRespectsBlockReportSplitThreshold.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/metrics/TestNameNodeMetrics.java > Allow changing MiniDFSCluster volumes per DN and capacity per volume > -------------------------------------------------------------------- > > Key: HDFS-6899 > URL: https://issues.apache.org/jira/browse/HDFS-6899 > Project: Hadoop HDFS > Issue Type: Improvement > Components: datanode, test > Affects Versions: 2.5.0 > Reporter: Arpit Agarwal > Assignee: Arpit Agarwal > Fix For: 3.0.0, 2.6.0 > > Attachments: HDFS-6899.01.patch, HDFS-6899.02.patch, HDFS-6899.03.patch, HDFS-6899.04.patch, HDFS-6899.05.patch, HDFS-6899.06.patch > > > MiniDFSCluster hardcodes the number of directories per volume to two. Propose removing the hard-coded restriction. > It would be useful to limit the capacity of individual storage directories for testing purposes. There is already a way to do so for SimulatedFSDataset, we can add one when using real volumes. -- This message was sent by Atlassian JIRA (v6.2#6252)