[ 
https://issues.apache.org/jira/browse/HBASE-14057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640030#comment-14640030
 ] 

Srikanth Srungarapu commented on HBASE-14057:
---------------------------------------------

Discussed this with [~mbertozzi] offline. The output will be like
{code}
hbase(main):008:0* user_permission
User                  Namespace,Table,Family,Qualifier:Permission
superuser1            hbase,hbase:acl,,: [Permission: 
actions=READ,WRITE,EXEC,CREATE]
superuser2            hbase,hbase:acl,,: [Permission: 
actions=READ,WRITE,EXEC,CREATE]
...
{code}

> HBase shell user_permission should list super users defined on hbase-site.xml
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-14057
>                 URL: https://issues.apache.org/jira/browse/HBASE-14057
>             Project: HBase
>          Issue Type: Task
>          Components: shell
>    Affects Versions: 1.0.1
>            Reporter: Wellington Chevreuil
>            Assignee: Srikanth Srungarapu
>            Priority: Minor
>         Attachments: HBASE-14057-branch-1.patch
>
>
> On HBase Shell, user_permission command without specifying any user lists all 
> users granted global permissions (grant 'user', 'RWXCA'):
> {noformat}
> hbase(main):008:0* user_permission
> User                                                   
> Namespace,Table,Family,Qualifier:Permission                                   
>                                                                               
>  
>  @hbase-admin                                          hbase,hbase:acl,,: 
> [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]                            
>                                                             
> 1 row(s) in 3.1710 seconds
> {noformat}
> Users defined as super users on hbase-site.xml configuration file are not 
> listed by this same command, even though a super user has the same 
> permissions/privileges as those defined through "grant 'user', 'RWXCA' 
> command on the shell:
> {noformat}
> <property>
>     <name>hbase.superuser</name>
>     <value>hbase-user</value>
> </property>
> {noformat} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to