Reply
Highlighted
Contributor
Posts: 34
Registered: ‎09-03-2015

SHOW TABLE STATS not working for HBase tables after Sentry

We have recently enabled Sentry in our cluster. When I try to do a SHOW TABLE STATS on a HBase Table through the Impala shell, it runs into the following permission error:

 

0: jdbc:hive2://LB> show table stats database.table_summary;
Error: RuntimeException: org.apache.hadoop.security.AccessControlException: Permission denied: user=impala, access=EXECUTE, inode="/hbase":hbase:hbase:drwx------

 

I have tried adding the impala user to the hbase.superuser but still see the same issues. I have also granted impala and hive RWACX through the hbase shell. Is there something else that needs to be done?

 

Thanks