[ https://issues.apache.org/jira/browse/HBASE-24176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083145#comment-17083145 ]
Hudson commented on HBASE-24176: -------------------------------- Results for branch branch-2.3 [build #32 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/32/]: (x) *{color:red}-1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/32/General_20Nightly_20Build_20Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/32/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/] (x) {color:red}-1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/32/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/] (x) {color:red}-1 jdk11 hadoop3 checks{color} -- For more information [see jdk11 report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.3/32/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > user_permission '.*' command failed to show all table permissions > ------------------------------------------------------------------ > > Key: HBASE-24176 > URL: https://issues.apache.org/jira/browse/HBASE-24176 > Project: HBase > Issue Type: Bug > Components: shell > Reporter: song XinCun > Assignee: song XinCun > Priority: Minor > Fix For: 3.0.0, 2.3.0, 2.2.5 > > > When we grant somebody global permission, then we use '.*' as the argument of > user_permission to show all table permissions, the following exception > occurred: > {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} -- This message was sent by Atlassian Jira (v8.3.4#803005)