balance_switch

Definition

Enables/disables the cluster Balancer. Returns the previous Balancer state.

Usage

balance_switch <new_state>
Arguments
Parameter Description

new_state

A boolean value that defines a new Balancer state. Use true to enable, false to disable

Examples

Disabling

hbase(main):047:0> balance_switch false
Previous balancer state : true
Took 0.0249 seconds
=> "true"

Enabling

hbase(main):048:0> balance_switch true
Previous balancer state : false
Took 0.0089 seconds
=> "false"
Found a mistake? Seleсt text and press Ctrl+Enter to report it