balancer

Definition

Triggers the cluster Balancer. Returns true if the Balancer is running and is able to tell Region Servers to unassign all Regions to balance (the re-assignment itself is async). Otherwise returns false — in most cases, when some Regions are in transition (the input parameter force can be used to force the command in such cases).

CAUTION
For experts only. Forcing a balance may do more damage than repair if Regions assignment is corrupted.

Usage

balancer ['force']
Arguments
Parameter Description

force

Use it to force balancing even if some Regions are in transition. By default, the command does not run in such a case

Examples

hbase(main):050:0> balancer
true
Took 0.0196 seconds
=> 1
Found a mistake? Seleсt text and press Ctrl+Enter to report it