Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5095DC54 for ; Fri, 18 Jan 2013 12:28:20 +0000 (UTC) Received: (qmail 36550 invoked by uid 500); 18 Jan 2013 12:28:20 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 36209 invoked by uid 500); 18 Jan 2013 12:28:15 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 36141 invoked by uid 99); 18 Jan 2013 12:28:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 12:28:12 +0000 Date: Fri, 18 Jan 2013 12:28:12 +0000 (UTC) From: "Max Lapan (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-4420) Provide a way to exclude subtree from balancing process MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Max Lapan created HDFS-4420: ------------------------------- Summary: Provide a way to exclude subtree from balancing process Key: HDFS-4420 URL: https://issues.apache.org/jira/browse/HDFS-4420 Project: Hadoop HDFS Issue Type: Improvement Components: balancer Affects Versions: 0.20.2 Reporter: Max Lapan Priority: Minor Fix For: 0.20.2 During balancer operation, it balances all blocks, regardless of their filesystem hierarchy. Sometimes, it would be usefull to exclude some subtree from balancing process. For example, regionservers data locality is cruical for HBase performance. Region's data is tied to regionservers, which reside on specific machines in cluster. During operation, regionservers reads and writes region's data, and after some time, all this data are reside on local machine, so, all reads become local, which is great for performance. Balancer breaks this locality during opertation by moving blocks around. This patch adds [-exclude ] switch, and, if path is provided, balancer will not move blocks under this path during operation. Attached patch have tested for 0.90.2. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira