HBASE-14494 Add missing commas on shell command usages
Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
76463a36f5
commit
4da3c935d4
|
@ -29,10 +29,10 @@ matching table name regular expression.
|
|||
Examples:
|
||||
hbase> delete_table_snapshots 'tableName'
|
||||
hbase> delete_table_snapshots 'tableName.*'
|
||||
hbase> delete_table_snapshots 'tableName' 'snapshotName'
|
||||
hbase> delete_table_snapshots 'tableName' 'snapshotName.*'
|
||||
hbase> delete_table_snapshots 'tableName.*' 'snapshotName.*'
|
||||
hbase> delete_table_snapshots 'ns:tableName.*' 'snapshotName.*'
|
||||
hbase> delete_table_snapshots 'tableName', 'snapshotName'
|
||||
hbase> delete_table_snapshots 'tableName', 'snapshotName.*'
|
||||
hbase> delete_table_snapshots 'tableName.*', 'snapshotName.*'
|
||||
hbase> delete_table_snapshots 'ns:tableName.*', 'snapshotName.*'
|
||||
|
||||
EOF
|
||||
end
|
||||
|
|
|
@ -22,7 +22,7 @@ module Shell
|
|||
def help
|
||||
return <<-EOF
|
||||
Grant users specific rights.
|
||||
Syntax : grant <user> <permissions> [<@namespace> [<table> [<column family> [<column qualifier>]]]
|
||||
Syntax : grant <user>, <permissions> [, <@namespace> [, <table> [, <column family> [, <column qualifier>]]]
|
||||
|
||||
permissions is either zero or more letters from the set "RWXCA".
|
||||
READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A')
|
||||
|
|
|
@ -31,10 +31,10 @@ by snapshot name.
|
|||
Examples:
|
||||
hbase> list_table_snapshots 'tableName'
|
||||
hbase> list_table_snapshots 'tableName.*'
|
||||
hbase> list_table_snapshots 'tableName' 'snapshotName'
|
||||
hbase> list_table_snapshots 'tableName' 'snapshotName.*'
|
||||
hbase> list_table_snapshots 'tableName.*' 'snapshotName.*'
|
||||
hbase> list_table_snapshots 'ns:tableName.*' 'snapshotName.*'
|
||||
hbase> list_table_snapshots 'tableName', 'snapshotName'
|
||||
hbase> list_table_snapshots 'tableName', 'snapshotName.*'
|
||||
hbase> list_table_snapshots 'tableName.*', 'snapshotName.*'
|
||||
hbase> list_table_snapshots 'ns:tableName.*', 'snapshotName.*'
|
||||
EOF
|
||||
end
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ module Shell
|
|||
def help
|
||||
return <<-EOF
|
||||
Revoke a user's access rights.
|
||||
Syntax : revoke <user> [<@namespace> [<table> [<column family> [<column qualifier>]]]]
|
||||
Syntax : revoke <user> [, <@namespace> [, <table> [, <column family> [, <column qualifier>]]]]
|
||||
|
||||
Note: Groups and users access are revoked in the same way, but groups are prefixed with an '@'
|
||||
character. In the same way, tables and namespaces are specified, but namespaces are
|
||||
|
|
Loading…
Reference in New Issue