splitormerge_switch

Definition

Enables/disables split or merge operations. Returns the previous state.

Usage

splitormerge_switch '<operation_type>', <new_state>
Arguments
Parameter Description

operation_type

Possible values:

  • SPLIT — split operations;

  • MERGE — merge operations.

new_state

A boolean value that defines a new state for split or merge operations. Use true to enable, false to disable

Examples

Disabling

hbase(main):012:0> splitormerge_switch 'SPLIT', false
true
Took 0.0080 seconds
=> 1
hbase(main):013:0> splitormerge_switch 'MERGE', false
true
Took 0.0080 seconds
=> 1

Enabling

hbase(main):014:0> splitormerge_switch 'SPLIT', true
false
Took 0.0085 seconds
=> 1
hbase(main):015:0> splitormerge_switch 'MERGE', true
false
Took 0.0087 seconds
=> 1
Found a mistake? Seleсt text and press Ctrl+Enter to report it