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 D9BD211BFB for ; Mon, 21 Jul 2014 12:12:39 +0000 (UTC) Received: (qmail 91951 invoked by uid 500); 21 Jul 2014 12:12:39 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 91908 invoked by uid 500); 21 Jul 2014 12:12:39 -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 91806 invoked by uid 99); 21 Jul 2014 12:12:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2014 12:12:39 +0000 Date: Mon, 21 Jul 2014 12:12:39 +0000 (UTC) From: "Yu Li (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6441) Add ability to exclude/include few datanodes while balancing 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-6441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068447#comment-14068447 ] Yu Li commented on HDFS-6441: ----------------------------- Hi [~szetszwo] [~aagarwal] and [~benoyantony], Sorry for the late response, really didn't expect a response after 1 month or so :-P Sure I don't mind if we contribute the feature here, I'm glad if only the feature could be added, no matter how we get it done. :-) About the patch, I could see the advantage of using a file to pass the node-list of include/exclude nodes especially when the list is long, meanwhile I'd say it would be great if we also support passing the servers through parameter, which is much easier to invoke the tool from another program(so we could still complete the HDFS-6009 work :-)) > Add ability to exclude/include few datanodes while balancing > ------------------------------------------------------------ > > Key: HDFS-6441 > URL: https://issues.apache.org/jira/browse/HDFS-6441 > Project: Hadoop HDFS > Issue Type: Improvement > Components: balancer > Affects Versions: 2.4.0 > Reporter: Benoy Antony > Assignee: Benoy Antony > Attachments: HDFS-6441.patch, HDFS-6441.patch, HDFS-6441.patch, HDFS-6441.patch, HDFS-6441.patch, HDFS-6441.patch, HDFS-6441.patch, HDFS-6441.patch, HDFS-6441.patch, HDFS-6441.patch > > > In some use cases, it is desirable to ignore a few data nodes while balancing. The administrator should be able to specify a list of data nodes in a file similar to the hosts file and the balancer should ignore these data nodes while balancing so that no blocks are added/removed on these nodes. > Similarly it will be beneficial to specify that only a particular list of datanodes should be considered for balancing. -- This message was sent by Atlassian JIRA (v6.2#6252)