move_servers_tables_rsgroup

Definition

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

Usage

move_servers_rsgroup '<rsgroup_name>',
                     <region_servers_array[]>,
                     <tables_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

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):019:0> move_servers_tables_rsgroup 'test_group',['bds-adh-2.ru-central1.internal:16020'], ['t4']
Took 27.6992 seconds
hbase(main):020:0> list_rsgroups
NAME                     SERVER / TABLE
 test_group              server bds-adh-2.ru-central1.internal:16020
                         server bds-adh-3.ru-central1.internal:16020
                         table t4
                         table temp1
 default                 server bds-adh-1.ru-central1.internal:16020
                         table hbase:meta
                         table hbase:acl
                         table SYSTEM.CATALOG
                         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