move_servers_namespaces_rsgroup

Definition

Assigns the given servers and namespaces to the specified Region Server group.

Usage

move_servers_namespaces_rsgroup '<rsgroup_name>',
                                <region_servers_array[]>,
                                <namespaces_array[]>
Arguments
Parameter Description

rsgroup_name

A Region Server group name

region_servers_array

An array of strings specified in the format '<region_server_name>:<port_number>', where <region_server_name> — a Region Server name; <port_number> — a port number

namespaces_array

An array of strings specified in the format '<namespace_name>', where <namespace_name> — a namespace name

Examples

hbase(main):027:0> move_servers_namespaces_rsgroup 'default', ['bds-adh-2.ru-central1.internal:16020'], ['ns1']
Took 4.2444 seconds
hbase(main):028:0> list_rsgroups
NAME                     SERVER / TABLE
 test_group              server bds-adh-3.ru-central1.internal:16020
                         table t4
                         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 ns1:temp2
                         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.0063 seconds
Found a mistake? Seleсt text and press Ctrl+Enter to report it