You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Matt Foley (JIRA)" <ji...@apache.org> on 2013/05/14 06:47:17 UTC
[jira] [Commented] (HDFS-4420) Provide a way to exclude subtree
from balancing process
[ https://issues.apache.org/jira/browse/HDFS-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13656724#comment-13656724 ]
Matt Foley commented on HDFS-4420:
----------------------------------
Changed Target Version to 1.3.0 upon release of 1.2.0. Please change to 1.2.1 if you intend to submit a fix for branch-1.2.
> 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
> Reporter: Max Lapan
> Priority: Minor
> Attachments: Balancer-exclude-subtree-0.90.2.patch, Balancer-exclude-trunk.patch, Balancer-exclude-trunk-v2.patch, Balancer-exclude-trunk-v3.patch
>
>
> 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 <path>] 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