move_tables_rsgroup

Definition

Assigns the given tables to the specified Region Server group.

Usage

move_tables_rsgroup '<rsgroup_name>', <tables_array[]>
Arguments
Parameter Description

rsgroup_name

A Region Server group name

tables_array

An array of strings specified in the format '[<namespace_name>:]<table_name>', where <namespace_name> — a namespace name; <table_name> — a table name

Examples

hbase(main):016:0> move_tables_rsgroup 'test_group', ['temp1']
Took 1.1676 seconds
hbase(main):017:0> list_rsgroups
NAME                     SERVER / TABLE
 test_group              server bds-adh-3.ru-central1.internal:16020
                         table temp1
 default                 server bds-adh-1.ru-central1.internal:16020
                         server bds-adh-2.ru-central1.internal:16020
                         table hbase:meta
                         table hbase:acl
                         table SYSTEM.CATALOG
                         table t4
                         table t5
                         table t6
                         table hbase:labels
                         table hbase:namespace
                         table SYSTEM.SEQUENCE
                         table SYSTEM.LOG
                         table SYSTEM.FUNCTION
                         table SYSTEM.MUTEX
                         table SYSTEM.STATS
                         table hbase:rsgroup
2 row(s)
Took 0.0097 seconds
Found a mistake? Seleсt text and press Ctrl+Enter to report it