hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "song XinCun (Jira)" <j...@apache.org>
Subject [jira] [Reopened] (HBASE-22879) user_permission command failed to show global permission
Date Sat, 11 Apr 2020 13:53:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-22879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

song XinCun reopened HBASE-22879:
---------------------------------
      Assignee: song XinCun  (was: Yi Mei)

This exception is still occurred when we use '.*' as the argument of user_permission
{code:java}
hbase(main):001:0>  grant 'user3', 'RW'
Took 0.4144 seconds                                                                      
                                                                                         
           
hbase(main):002:0> user_permission 
User                                             Namespace,Table,Family,Qualifier:Permission
                                                                                         
        
 user2                                           ,,,: [Permission: actions=READ,WRITE]   
                                                                                         
           
 user3                                           ,,,: [Permission: actions=READ,WRITE]   
                                                                                         
           
 hbaseadmin                                      ,,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                                      
3 row(s)
Took 0.0445 seconds                                                                      
                                                                                         
           
hbase(main):003:0> user_permission '.*'
User                                             Namespace,Table,Family,Qualifier:Permission
                                                                                         
        
 user1                                           default,t1,,: [Permission: actions=READ,WRITE]
                                                                                         
     
 hbaseadmin                                      default,t1,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
                                                                             ERROR: failed
to coerce org.apache.hadoop.hbase.security.access.GlobalPermission to org.apache.hadoop.hbase.security.access.TablePermissionFor
usage try 'help "user_permission"'Took 0.0940 seconds 
{code}

> user_permission command failed to show global permission
> --------------------------------------------------------
>
>                 Key: HBASE-22879
>                 URL: https://issues.apache.org/jira/browse/HBASE-22879
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Yi Mei
>            Assignee: song XinCun
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0, 2.2.1
>
>
> When use user_permission command to show global permissions, the following exception
occurred:
> {code:java}
> hbase(main):001:0> user_permission
> User Namespace,Table,Family,Qualifier:Permission
> ERROR: failed to coerce org.apache.hadoop.hbase.security.access.GlobalPermission to org.apache.hadoop.hbase.security.access.TablePermission
> For usage try 'help "user_permission"'
> Took 1.1249 seconds
> hbase(main):002:0>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message