Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
When we grant somebody global permission, then we use '.*' as the argument of user_permission to show all table permissions, the following exception occurred:
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
Attachments
Issue Links
- links to