Details
Description
Steps to reproduce
1) Grant a group permission(other than READ) on a namespace
2) Scan a table in that namespace from a user belonging to that group
we get the following exception.
java.lang.NullPointerException at org.apache.hadoop.hbase.security.access.TablePermission.implies(TablePermission.java:215) at org.apache.hadoop.hbase.security.access.TableAuthManager.authorize(TableAuthManager.java:340) at org.apache.hadoop.hbase.security.access.TableAuthManager.authorize(TableAuthManager.java:332) at org.apache.hadoop.hbase.security.access.TableAuthManager.authorizeGroup(TableAuthManager.java:473) at org.apache.hadoop.hbase.security.access.TableAuthManager.authorize(TableAuthManager.java:490) at org.apache.hadoop.hbase.security.access.TableAuthManager.authorize(TableAuthManager.java:500) at org.apache.hadoop.hbase.security.access.AccessController.permissionGranted(AccessController.java:415) at org.apache.hadoop.hbase.security.access.AccessController.permissionGranted(AccessController.java:484) at org.apache.hadoop.hbase.security.access.AccessController.internalPreRead(AccessController.java:1504) at org.apache.hadoop.hbase.security.access.AccessController.preScannerOpen(AccessController.java:2027) at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preScannerOpen(RegionCoprocessorHost.java:1987) at org.apache.hadoop.hbase.regionserver.HRegionServer.scan(HRegionServer.java:3102)
Note: Line numbers may not match.