--- hbase-shell/src/main/ruby/shell/commands/alter.rb | 6 +++--- hbase-shell/src/main/ruby/shell/commands/alter_async.rb | 6 +++--- hbase-shell/src/main/ruby/shell/commands/alter_status.rb | 1 + hbase-shell/src/main/ruby/shell/commands/clone_snapshot.rb | 1 + hbase-shell/src/main/ruby/shell/commands/close_region.rb | 2 ++ hbase-shell/src/main/ruby/shell/commands/compact.rb | 1 + hbase-shell/src/main/ruby/shell/commands/count.rb | 1 + hbase-shell/src/main/ruby/shell/commands/create.rb | 6 +++++- hbase-shell/src/main/ruby/shell/commands/delete.rb | 1 + hbase-shell/src/main/ruby/shell/commands/deleteall.rb | 1 + hbase-shell/src/main/ruby/shell/commands/describe.rb | 1 + hbase-shell/src/main/ruby/shell/commands/disable.rb | 4 +++- hbase-shell/src/main/ruby/shell/commands/disable_all.rb | 2 ++ hbase-shell/src/main/ruby/shell/commands/drop.rb | 4 +++- hbase-shell/src/main/ruby/shell/commands/drop_all.rb | 2 ++ hbase-shell/src/main/ruby/shell/commands/enable.rb | 4 +++- hbase-shell/src/main/ruby/shell/commands/enable_all.rb | 2 ++ hbase-shell/src/main/ruby/shell/commands/exists.rb | 4 +++- hbase-shell/src/main/ruby/shell/commands/get.rb | 1 + hbase-shell/src/main/ruby/shell/commands/get_counter.rb | 1 + hbase-shell/src/main/ruby/shell/commands/get_table.rb | 1 + hbase-shell/src/main/ruby/shell/commands/grant.rb | 1 + hbase-shell/src/main/ruby/shell/commands/incr.rb | 3 ++- hbase-shell/src/main/ruby/shell/commands/is_disabled.rb | 4 +++- hbase-shell/src/main/ruby/shell/commands/is_enabled.rb | 4 +++- hbase-shell/src/main/ruby/shell/commands/list.rb | 2 ++ hbase-shell/src/main/ruby/shell/commands/major_compact.rb | 1 + hbase-shell/src/main/ruby/shell/commands/put.rb | 5 +++-- hbase-shell/src/main/ruby/shell/commands/revoke.rb | 1 + hbase-shell/src/main/ruby/shell/commands/scan.rb | 1 + hbase-shell/src/main/ruby/shell/commands/snapshot.rb | 1 + hbase-shell/src/main/ruby/shell/commands/split.rb | 1 + hbase-shell/src/main/ruby/shell/commands/user_permission.rb | 1 + 33 files changed, 61 insertions(+), 16 deletions(-) diff --git a/hbase-shell/src/main/ruby/shell/commands/alter.rb b/hbase-shell/src/main/ruby/shell/commands/alter.rb index f22348c..299e645 100644 --- a/hbase-shell/src/main/ruby/shell/commands/alter.rb +++ b/hbase-shell/src/main/ruby/shell/commands/alter.rb @@ -38,10 +38,10 @@ You can operate on several column families: hbase> alter 't1', 'f1', {NAME => 'f2', IN_MEMORY => true}, {NAME => 'f3', VERSIONS => 5} -To delete the 'f1' column family in table 't1', use one of: +To delete the 'f1' column family in table 'ns1:t1', use one of: - hbase> alter 't1', NAME => 'f1', METHOD => 'delete' - hbase> alter 't1', 'delete' => 'f1' + hbase> alter 'ns1:t1', NAME => 'f1', METHOD => 'delete' + hbase> alter 'ns1:t1', 'delete' => 'f1' You can also change table-scope attributes like MAX_FILESIZE, READONLY, MEMSTORE_FLUSHSIZE, DEFERRED_LOG_FLUSH, etc. These can be put at the end; diff --git a/hbase-shell/src/main/ruby/shell/commands/alter_async.rb b/hbase-shell/src/main/ruby/shell/commands/alter_async.rb index 164f339..bddff01 100644 --- a/hbase-shell/src/main/ruby/shell/commands/alter_async.rb +++ b/hbase-shell/src/main/ruby/shell/commands/alter_async.rb @@ -32,13 +32,13 @@ to instead keep a maximum of 5 cell VERSIONS, do: hbase> alter_async 't1', NAME => 'f1', VERSIONS => 5 -To delete the 'f1' column family in table 't1', do: +To delete the 'f1' column family in table 'ns1:t1', do: - hbase> alter_async 't1', NAME => 'f1', METHOD => 'delete' + hbase> alter_async 'ns1:t1', NAME => 'f1', METHOD => 'delete' or a shorter version: - hbase> alter_async 't1', 'delete' => 'f1' + hbase> alter_async 'ns1:t1', 'delete' => 'f1' You can also change table-scope attributes like MAX_FILESIZE MEMSTORE_FLUSHSIZE, READONLY, and DEFERRED_LOG_FLUSH. diff --git a/hbase-shell/src/main/ruby/shell/commands/alter_status.rb b/hbase-shell/src/main/ruby/shell/commands/alter_status.rb index d62edac..72f044d 100644 --- a/hbase-shell/src/main/ruby/shell/commands/alter_status.rb +++ b/hbase-shell/src/main/ruby/shell/commands/alter_status.rb @@ -27,6 +27,7 @@ table that have received the updated schema Pass table name. hbase> alter_status 't1' +hbase> alter_status 'ns1:t1' EOF end def command(table) diff --git a/hbase-shell/src/main/ruby/shell/commands/clone_snapshot.rb b/hbase-shell/src/main/ruby/shell/commands/clone_snapshot.rb index c4d5b0b..8c193bb 100644 --- a/hbase-shell/src/main/ruby/shell/commands/clone_snapshot.rb +++ b/hbase-shell/src/main/ruby/shell/commands/clone_snapshot.rb @@ -27,6 +27,7 @@ And writing on the newly created table will not influence the snapshot data. Examples: hbase> clone_snapshot 'snapshotName', 'tableName' + hbase> clone_snapshot 'snapshotName', 'namespace:tableName' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/close_region.rb b/hbase-shell/src/main/ruby/shell/commands/close_region.rb index b7cdf3d..9e2900c 100644 --- a/hbase-shell/src/main/ruby/shell/commands/close_region.rb +++ b/hbase-shell/src/main/ruby/shell/commands/close_region.rb @@ -30,6 +30,8 @@ directly close a region, you pass the regions' encoded name only. A region name looks like this: TestTable,0094429456,1289497600452.527db22f95c8a9e0116f0cc13c680396. +or + Namespace:TestTable,0094429456,1289497600452.527db22f95c8a9e0116f0cc13c680396. The trailing period is part of the regionserver name. A region's encoded name is the hash at the end of a region name; e.g. 527db22f95c8a9e0116f0cc13c680396 diff --git a/hbase-shell/src/main/ruby/shell/commands/compact.rb b/hbase-shell/src/main/ruby/shell/commands/compact.rb index 47cf038..adeffa2 100644 --- a/hbase-shell/src/main/ruby/shell/commands/compact.rb +++ b/hbase-shell/src/main/ruby/shell/commands/compact.rb @@ -27,6 +27,7 @@ module Shell family within a region. Examples: Compact all regions in a table: + hbase> compact 'ns1:t1' hbase> compact 't1' Compact an entire region: hbase> compact 'r1' diff --git a/hbase-shell/src/main/ruby/shell/commands/count.rb b/hbase-shell/src/main/ruby/shell/commands/count.rb index e88c445..225005e 100644 --- a/hbase-shell/src/main/ruby/shell/commands/count.rb +++ b/hbase-shell/src/main/ruby/shell/commands/count.rb @@ -30,6 +30,7 @@ caching is enabled on count scans by default. Default cache size is 10 rows. If your rows are small in size, you may want to increase this parameter. Examples: + hbase> count 'ns1:t1' hbase> count 't1' hbase> count 't1', INTERVAL => 100000 hbase> count 't1', CACHE => 1000 diff --git a/hbase-shell/src/main/ruby/shell/commands/create.rb b/hbase-shell/src/main/ruby/shell/commands/create.rb index e59a5cb..cd0fdea 100644 --- a/hbase-shell/src/main/ruby/shell/commands/create.rb +++ b/hbase-shell/src/main/ruby/shell/commands/create.rb @@ -29,7 +29,10 @@ Column specification can be a simple string (name), or a dictionary including NAME attribute. Examples: - hbase> create 't1', {NAME => 'f1', VERSIONS => 5} +Create a table with namespace=ns1 and table qualifier=t1 + hbase> create 'ns1:t1', {NAME => 'f1', VERSIONS => 5} + +Create a table with namespace=default and table qualifier=t1 hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'} hbase> # The above in shorthand would be the following: hbase> create 't1', 'f1', 'f2', 'f3' @@ -39,6 +42,7 @@ Examples: Table configuration options can be put at the end. Examples: + hbase> create 'ns1:t1', 'f1', SPLITS => ['10', '20', '30', '40'] hbase> create 't1', 'f1', SPLITS => ['10', '20', '30', '40'] hbase> create 't1', 'f1', SPLITS_FILE => 'splits.txt', OWNER => 'johndoe' hbase> create 't1', {NAME => 'f1', VERSIONS => 5}, METADATA => { 'mykey' => 'myvalue' } diff --git a/hbase-shell/src/main/ruby/shell/commands/delete.rb b/hbase-shell/src/main/ruby/shell/commands/delete.rb index b0bca71..a0c50e3 100644 --- a/hbase-shell/src/main/ruby/shell/commands/delete.rb +++ b/hbase-shell/src/main/ruby/shell/commands/delete.rb @@ -28,6 +28,7 @@ coordinates exactly. When scanning, a delete cell suppresses older versions. To delete a cell from 't1' at row 'r1' under column 'c1' marked with the time 'ts1', do: + hbase> delete 'ns1:t1', 'r1', 'c1', ts1 hbase> delete 't1', 'r1', 'c1', ts1 The same command can also be run on a table reference. Suppose you had a reference diff --git a/hbase-shell/src/main/ruby/shell/commands/deleteall.rb b/hbase-shell/src/main/ruby/shell/commands/deleteall.rb index a09a882..197dbd4 100644 --- a/hbase-shell/src/main/ruby/shell/commands/deleteall.rb +++ b/hbase-shell/src/main/ruby/shell/commands/deleteall.rb @@ -25,6 +25,7 @@ module Shell Delete all cells in a given row; pass a table name, row, and optionally a column and timestamp. Examples: + hbase> deleteall 'ns1:t1', 'r1' hbase> deleteall 't1', 'r1' hbase> deleteall 't1', 'r1', 'c1' hbase> deleteall 't1', 'r1', 'c1', ts1 diff --git a/hbase-shell/src/main/ruby/shell/commands/describe.rb b/hbase-shell/src/main/ruby/shell/commands/describe.rb index cce82c4..9e2996f 100644 --- a/hbase-shell/src/main/ruby/shell/commands/describe.rb +++ b/hbase-shell/src/main/ruby/shell/commands/describe.rb @@ -24,6 +24,7 @@ module Shell return <<-EOF Describe the named table. For example: hbase> describe 't1' + hbase> describe 'ns1:t1' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/disable.rb b/hbase-shell/src/main/ruby/shell/commands/disable.rb index b10aa9b..79bcd86 100644 --- a/hbase-shell/src/main/ruby/shell/commands/disable.rb +++ b/hbase-shell/src/main/ruby/shell/commands/disable.rb @@ -22,7 +22,9 @@ module Shell class Disable < Command def help return <<-EOF -Start disable of named table: e.g. "hbase> disable 't1'" +Start disable of named table: + hbase> disable 't1' + hbase> disable 'ns1:t1' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/disable_all.rb b/hbase-shell/src/main/ruby/shell/commands/disable_all.rb index 0e7c30e..1793a42 100644 --- a/hbase-shell/src/main/ruby/shell/commands/disable_all.rb +++ b/hbase-shell/src/main/ruby/shell/commands/disable_all.rb @@ -25,6 +25,8 @@ module Shell Disable all of tables matching the given regex: hbase> disable_all 't.*' +hbase> disable_all 'ns:t.*' +hbase> disable_all 'ns:.*' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/drop.rb b/hbase-shell/src/main/ruby/shell/commands/drop.rb index 6238fe6..fc7b134 100644 --- a/hbase-shell/src/main/ruby/shell/commands/drop.rb +++ b/hbase-shell/src/main/ruby/shell/commands/drop.rb @@ -22,7 +22,9 @@ module Shell class Drop < Command def help return <<-EOF -Drop the named table. Table must first be disabled: e.g. "hbase> drop 't1'" +Drop the named table. Table must first be disabled: + hbase> drop 't1' + hbase> drop 'ns1:t1' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/drop_all.rb b/hbase-shell/src/main/ruby/shell/commands/drop_all.rb index e482d6b..0ed96af 100644 --- a/hbase-shell/src/main/ruby/shell/commands/drop_all.rb +++ b/hbase-shell/src/main/ruby/shell/commands/drop_all.rb @@ -25,6 +25,8 @@ module Shell Drop all of the tables matching the given regex: hbase> drop_all 't.*' +hbase> drop_all 'ns:t.*' +hbase> drop_all 'ns:.*' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/enable.rb b/hbase-shell/src/main/ruby/shell/commands/enable.rb index a4d495a..deeb70c 100644 --- a/hbase-shell/src/main/ruby/shell/commands/enable.rb +++ b/hbase-shell/src/main/ruby/shell/commands/enable.rb @@ -22,7 +22,9 @@ module Shell class Enable < Command def help return <<-EOF -Start enable of named table: e.g. "hbase> enable 't1'" +Start enable of named table: + hbase> enable 't1' + hbase> enable 'ns1:t1' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/enable_all.rb b/hbase-shell/src/main/ruby/shell/commands/enable_all.rb index fc0f081..f6ced26 100644 --- a/hbase-shell/src/main/ruby/shell/commands/enable_all.rb +++ b/hbase-shell/src/main/ruby/shell/commands/enable_all.rb @@ -25,6 +25,8 @@ module Shell Enable all of the tables matching the given regex: hbase> enable_all 't.*' +hbase> enable_all 'ns:t.*' +hbase> enable_all 'ns:.*' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/exists.rb b/hbase-shell/src/main/ruby/shell/commands/exists.rb index b7932ce..bacf6c9 100644 --- a/hbase-shell/src/main/ruby/shell/commands/exists.rb +++ b/hbase-shell/src/main/ruby/shell/commands/exists.rb @@ -22,7 +22,9 @@ module Shell class Exists < Command def help return <<-EOF -Does the named table exist? e.g. "hbase> exists 't1'" +Does the named table exist? + hbase> exists 't1' + hbase> exists 'ns1:t1' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/get.rb b/hbase-shell/src/main/ruby/shell/commands/get.rb index dc4c296..c6e2dc6 100644 --- a/hbase-shell/src/main/ruby/shell/commands/get.rb +++ b/hbase-shell/src/main/ruby/shell/commands/get.rb @@ -25,6 +25,7 @@ module Shell Get row or cell contents; pass table name, row, and optionally a dictionary of column(s), timestamp, timerange and versions. Examples: + hbase> get 'ns1:t1', 'r1' hbase> get 't1', 'r1' hbase> get 't1', 'r1', {TIMERANGE => [ts1, ts2]} hbase> get 't1', 'r1', {COLUMN => 'c1'} diff --git a/hbase-shell/src/main/ruby/shell/commands/get_counter.rb b/hbase-shell/src/main/ruby/shell/commands/get_counter.rb index ee71ae4..00cf64d 100644 --- a/hbase-shell/src/main/ruby/shell/commands/get_counter.rb +++ b/hbase-shell/src/main/ruby/shell/commands/get_counter.rb @@ -26,6 +26,7 @@ Return a counter cell value at specified table/row/column coordinates. A cell cell should be managed with atomic increment function oh HBase and the data should be binary encoded. Example: + hbase> get_counter 'ns1:t1', 'r1', 'c1' hbase> get_counter 't1', 'r1', 'c1' The same commands also can be run on a table reference. Suppose you had a reference diff --git a/hbase-shell/src/main/ruby/shell/commands/get_table.rb b/hbase-shell/src/main/ruby/shell/commands/get_table.rb index 76f4b95..43e7c1a 100644 --- a/hbase-shell/src/main/ruby/shell/commands/get_table.rb +++ b/hbase-shell/src/main/ruby/shell/commands/get_table.rb @@ -27,6 +27,7 @@ on how to use the table. Eg. hbase> t1 = get_table 't1' + hbase> t1 = get_table 'ns1:t1' returns the table named 't1' as a table object. You can then do diff --git a/hbase-shell/src/main/ruby/shell/commands/grant.rb b/hbase-shell/src/main/ruby/shell/commands/grant.rb index 7bdc959..aaa5863 100644 --- a/hbase-shell/src/main/ruby/shell/commands/grant.rb +++ b/hbase-shell/src/main/ruby/shell/commands/grant.rb @@ -31,6 +31,7 @@ For example: hbase> grant 'bobsmith', 'RWXCA' hbase> grant 'bobsmith', 'RW', 't1', 'f1', 'col1' + hbase> grant 'bobsmith', 'RW', 'ns1:t1', 'f1', 'col1' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/incr.rb b/hbase-shell/src/main/ruby/shell/commands/incr.rb index 4d6559c..a59869c 100644 --- a/hbase-shell/src/main/ruby/shell/commands/incr.rb +++ b/hbase-shell/src/main/ruby/shell/commands/incr.rb @@ -23,9 +23,10 @@ module Shell def help return <<-EOF Increments a cell 'value' at specified table/row/column coordinates. -To increment a cell value in table 't1' at row 'r1' under column +To increment a cell value in table 'ns1:t1' or 't1' at row 'r1' under column 'c1' by 1 (can be omitted) or 10 do: + hbase> incr 'ns1:t1', 'r1', 'c1' hbase> incr 't1', 'r1', 'c1' hbase> incr 't1', 'r1', 'c1', 1 hbase> incr 't1', 'r1', 'c1', 10 diff --git a/hbase-shell/src/main/ruby/shell/commands/is_disabled.rb b/hbase-shell/src/main/ruby/shell/commands/is_disabled.rb index 28918ee..6da7046 100644 --- a/hbase-shell/src/main/ruby/shell/commands/is_disabled.rb +++ b/hbase-shell/src/main/ruby/shell/commands/is_disabled.rb @@ -22,7 +22,9 @@ module Shell class IsDisabled < Command def help return <<-EOF -Is named table disabled?: e.g. "hbase> is_disabled 't1'" +Is named table disabled? For example: + hbase> is_disabled 't1' + hbase> is_disabled 'ns1:t1' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/is_enabled.rb b/hbase-shell/src/main/ruby/shell/commands/is_enabled.rb index 6a98a36..960ade7 100644 --- a/hbase-shell/src/main/ruby/shell/commands/is_enabled.rb +++ b/hbase-shell/src/main/ruby/shell/commands/is_enabled.rb @@ -22,7 +22,9 @@ module Shell class IsEnabled < Command def help return <<-EOF -Is named table enabled?: e.g. "hbase> is_enabled 't1'" +Is named table enabled? For example: + hbase> is_enabled 't1' + hbase> is_enabled 'ns1:t1' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/list.rb b/hbase-shell/src/main/ruby/shell/commands/list.rb index 7801f53..dce0ae2 100644 --- a/hbase-shell/src/main/ruby/shell/commands/list.rb +++ b/hbase-shell/src/main/ruby/shell/commands/list.rb @@ -27,6 +27,8 @@ be used to filter the output. Examples: hbase> list hbase> list 'abc.*' + hbase> list 'ns:abc.*' + hbase> list 'ns:.*' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/major_compact.rb b/hbase-shell/src/main/ruby/shell/commands/major_compact.rb index f05cc1d..8257483 100644 --- a/hbase-shell/src/main/ruby/shell/commands/major_compact.rb +++ b/hbase-shell/src/main/ruby/shell/commands/major_compact.rb @@ -29,6 +29,7 @@ module Shell Examples: Compact all regions in a table: hbase> major_compact 't1' + hbase> major_compact 'ns1:t1' Compact an entire region: hbase> major_compact 'r1' Compact a single column family within a region: diff --git a/hbase-shell/src/main/ruby/shell/commands/put.rb b/hbase-shell/src/main/ruby/shell/commands/put.rb index d56fd00..4879200 100644 --- a/hbase-shell/src/main/ruby/shell/commands/put.rb +++ b/hbase-shell/src/main/ruby/shell/commands/put.rb @@ -23,9 +23,10 @@ module Shell def help return <<-EOF Put a cell 'value' at specified table/row/column and optionally -timestamp coordinates. To put a cell value into table 't1' at -row 'r1' under column 'c1' marked with the time 'ts1', do: +timestamp coordinates. To put a cell value into table 'ns1:t1' or 't1' +at row 'r1' under column 'c1' marked with the time 'ts1', do: + hbase> put 'ns1:t1', 'r1', 'c1', 'value' hbase> put 't1', 'r1', 'c1', 'value' hbase> put 't1', 'r1', 'c1', 'value', ts1 hbase> put 't1', 'r1', 'c1', 'value', {ATTRIBUTES=>{'mykey'=>'myvalue'}} diff --git a/hbase-shell/src/main/ruby/shell/commands/revoke.rb b/hbase-shell/src/main/ruby/shell/commands/revoke.rb index 721519e..57a2530 100644 --- a/hbase-shell/src/main/ruby/shell/commands/revoke.rb +++ b/hbase-shell/src/main/ruby/shell/commands/revoke.rb @@ -27,6 +27,7 @@ For example: hbase> revoke 'bobsmith' hbase> revoke 'bobsmith', 't1', 'f1', 'col1' + hbase> revoke 'bobsmith', 'ns1:t1', 'f1', 'col1' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/scan.rb b/hbase-shell/src/main/ruby/shell/commands/scan.rb index 99b857b..81a9264 100644 --- a/hbase-shell/src/main/ruby/shell/commands/scan.rb +++ b/hbase-shell/src/main/ruby/shell/commands/scan.rb @@ -40,6 +40,7 @@ Some examples: hbase> scan 'hbase:meta' hbase> scan 'hbase:meta', {COLUMNS => 'info:regioninfo'} + hbase> scan 'ns1:t1', {COLUMNS => ['c1', 'c2'], LIMIT => 10, STARTROW => 'xyz'} hbase> scan 't1', {COLUMNS => ['c1', 'c2'], LIMIT => 10, STARTROW => 'xyz'} hbase> scan 't1', {COLUMNS => 'c1', TIMERANGE => [1303668804, 1303668904]} hbase> scan 't1', {REVERSED => true} diff --git a/hbase-shell/src/main/ruby/shell/commands/snapshot.rb b/hbase-shell/src/main/ruby/shell/commands/snapshot.rb index 1c4ecfe..62de845 100644 --- a/hbase-shell/src/main/ruby/shell/commands/snapshot.rb +++ b/hbase-shell/src/main/ruby/shell/commands/snapshot.rb @@ -24,6 +24,7 @@ module Shell Take a snapshot of specified table. Examples: hbase> snapshot 'sourceTable', 'snapshotName' + hbase> snapshot 'namespace:sourceTable', 'snapshotName' EOF end diff --git a/hbase-shell/src/main/ruby/shell/commands/split.rb b/hbase-shell/src/main/ruby/shell/commands/split.rb index 9488ed9..9dc424f 100644 --- a/hbase-shell/src/main/ruby/shell/commands/split.rb +++ b/hbase-shell/src/main/ruby/shell/commands/split.rb @@ -26,6 +26,7 @@ Split entire table or pass a region to split individual region. With the second parameter, you can specify an explicit split key for the region. Examples: split 'tableName' + split 'namespace:tableName' split 'regionName' # format: 'tableName,startKey,id' split 'tableName', 'splitKey' split 'regionName', 'splitKey' diff --git a/hbase-shell/src/main/ruby/shell/commands/user_permission.rb b/hbase-shell/src/main/ruby/shell/commands/user_permission.rb index ad4a7b0..03e5761 100644 --- a/hbase-shell/src/main/ruby/shell/commands/user_permission.rb +++ b/hbase-shell/src/main/ruby/shell/commands/user_permission.rb @@ -27,6 +27,7 @@ For example: hbase> user_permission hbase> user_permission 'table1' + hbase> user_permission 'namespace1:table1' EOF end -- 1.7.12.GIT