move_namespaces_rsgroup
Contents
Usage
move_namespaces_rsgroup '<rsgroup_name>', <namespaces_array[]>
Parameter | Description |
---|---|
rsgroup_name |
A Region Server group name |
namespaces_array |
An array of strings specified in the format |
Examples
hbase(main):022:0> create 'ns1:temp2', 'cf1' Created table ns1:temp2 Took 1.0197 seconds => Hbase::Table - ns1:temp2 hbase(main):023:0> list_namespace_tables 'ns1' TABLE temp2 1 row(s) Took 0.0096 seconds => ["temp2"] hbase(main):024: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 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.0117 seconds hbase(main):025:0> move_namespaces_rsgroup 'test_group', ['ns1'] Took 1.1491 seconds hbase(main):026: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 ns1:temp2 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.0055 seconds