[ 
https://issues.apache.org/jira/browse/KUDU-2914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978938#comment-16978938
 ] 

ASF subversion and git services commented on KUDU-2914:
-------------------------------------------------------

Commit 9b7669f6ac5b615d172557aa438ed2518fbee3f0 in kudu's branch 
refs/heads/master from zhangyifan27
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=9b7669f ]

KUDU-2914: Rebalance tool support moving replicas from some specific tablet 
servers

Aims to support moving replicas from specific tablet servers,
this patch re-uses the '--ignored_tservers' flag and adds a
'--move_replicas_from_ignored_tservers' flag to the
`kudu rebalance cluster` CLI tool.

Once the flag '--ignored_tservers' is specified, the given
tablet servers are not considered as a part of the cluster,
both their health state and replicas on them are ignored
by the rebalancer tool.

While if '--move_replicas_from_ignored_tservers' is enabled,
replicas on healthy ignored tservers would be moved to other
tservers first, and then running the rebalancing on the other
healthy tservers in the cluster.

Additionally, if we want to move replicas from some specified
tablet servers to other servers, the specified tablet servers
should be set into maintenance_mode first, otherwise the
rebalancer tool would not run.

Change-Id: I86cfb740030946c13db1a9ca63d241f4907d6c89
Reviewed-on: http://gerrit.cloudera.org:8080/14154
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>


> Rebalance tool support moving replicas from some specific tablet servers
> ------------------------------------------------------------------------
>
>                 Key: KUDU-2914
>                 URL: https://issues.apache.org/jira/browse/KUDU-2914
>             Project: Kudu
>          Issue Type: Improvement
>          Components: CLI
>            Reporter: YifanZhang
>            Assignee: YifanZhang
>            Priority: Minor
>
> When we need to remove some tservers from a kudu cluster (maybe just for 
> saving resources or replacing these servers with new servers), it's better to 
> move all replicas on these tservers to other tservers in a cluster in 
> advance, instead of waiting for all replicas kicked out and evicting new 
> replicas. This can be achieved by rebalance tool supporting specifying 
> 'blacklist_tservers'.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to