Community Articles
Find and share helpful community-sourced technical articles
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

PROBLEM: HDP 2.5.3 with Ambari and using Kerberos and Ranger for HBase authorization. We need grant pretty much ALL permissions to the 'default' namespace to every user so they can connect using

1;31mError: Insufficient permissions for user 'abc@NA.EXAMPLE.COM' (action=create)
	at org.apache.ranger.authorization.hbase.AuthorizationSession.publishResults(
	at org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor.authorizeAccess(
	at org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor.requirePermission(
	at org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor.preCreateTable(
	at org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor.preCreateTable(
	at org.apache.hadoop.hbase.master.MasterCoprocessorHost$
	at org.apache.hadoop.hbase.master.MasterCoprocessorHost.execOperation(
	at org.apache.hadoop.hbase.master.MasterCoprocessorHost.preCreateTable(
	at org.apache.hadoop.hbase.master.HMaster.createTable(
	at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(
	at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(
	at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(
	at org.apache.hadoop.hbase.ipc.RpcExecutor$
	at (state=08000,code=101)
org.apache.phoenix.exception.PhoenixIOException: Insufficient permissions for user 'abc@NA.EXAMPLE.COM' (action=create)

EXPECTED BEHAVIOR : Once the phoenix SYSTEM tables are created , only Read permission on the 'default' namespace should have allowed the user to connect using

ROOT CAUSE : Phoenix is using HBaseAdmin.getTableDescriptor during most of the checks for valid version of Phoenix. But this function requires CREATE or ADMIN permissions. This is a known issue and tracked in PHOENIX-3652 . Fix is available in Phoenix 4.8.3 and 4.10

SOLUTION: To get a hotfix backported to previous Phoenix versions, please log a case with HWX.

Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎06-04-2017 09:33 AM
Updated by:
Top Kudoed Authors