HBASE-19802 Wrong usage messages on shell commands (grant/revoke namespace syntax) (Csaba Skrabak)
This commit is contained in:
parent
d42886f4fe
commit
e80ce3d91b
|
@ -22,13 +22,14 @@ module Shell
|
|||
def help
|
||||
<<-EOF
|
||||
Grant users specific rights.
|
||||
Syntax : grant <user>, <permissions> [, <@namespace> [, <table> [, <column family> [, <column qualifier>]]]
|
||||
Syntax: grant <user or @group>, <permissions> [, <table> [, <column family> [, <column qualifier>]]]
|
||||
Syntax: grant <user or @group>, <permissions>, <@namespace>
|
||||
|
||||
permissions is either zero or more letters from the set "RWXCA".
|
||||
READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A')
|
||||
|
||||
Note: Groups and users are granted access in the same way, but groups are prefixed with an '@'
|
||||
character. In the same way, tables and namespaces are specified, but namespaces are
|
||||
character. Tables and namespaces are specified the same way, but namespaces are
|
||||
prefixed with an '@' character.
|
||||
|
||||
For example:
|
||||
|
|
|
@ -22,10 +22,11 @@ module Shell
|
|||
def help
|
||||
<<-EOF
|
||||
Revoke a user's access rights.
|
||||
Syntax : revoke <user> [, <@namespace> [, <table> [, <column family> [, <column qualifier>]]]]
|
||||
Syntax: revoke <user or @group> [, <table> [, <column family> [, <column qualifier>]]]
|
||||
Syntax: revoke <user or @group>, <@namespace>
|
||||
|
||||
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
|
||||
character. Tables and namespaces are specified the same way, but namespaces are
|
||||
prefixed with an '@' character.
|
||||
|
||||
For example:
|
||||
|
|
Loading…
Reference in New Issue