[
https://issues.apache.org/jira/browse/HDFS-6441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoy Antony updated HDFS-6441:
-------------------------------
Attachment: HDFS-6441.patch
Attached is the patch which adds a new balancer argument to specify the file
containing list of data nodes to ignore.
The new argument name is “ignore-hosts” .
Each line in the file should contain hostnames to ignore.
Two new test cases are added to test the ability to ignore data nodes while
balancing.
> Add ability to Ignore 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
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)