HBASE-19802 Wrong usage messages on shell commands (grant/revoke namespace syntax) (Csaba Skrabak)
This commit is contained in:
parent
38471229f9
commit
91a17baaed
|
@ -22,13 +22,14 @@ module Shell
|
||||||
def help
|
def help
|
||||||
return <<-EOF
|
return <<-EOF
|
||||||
Grant users specific rights.
|
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".
|
permissions is either zero or more letters from the set "RWXCA".
|
||||||
READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A')
|
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 '@'
|
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.
|
prefixed with an '@' character.
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
|
@ -22,10 +22,11 @@ module Shell
|
||||||
def help
|
def help
|
||||||
return <<-EOF
|
return <<-EOF
|
||||||
Revoke a user's access rights.
|
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 '@'
|
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.
|
prefixed with an '@' character.
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
Loading…
Reference in New Issue