Posts: 24
Registered: ‎08-15-2016

Hbase access on a kerberos enabled cluster

[ Edited ]

I have a custom Parcel/CSD which I need to install on a kerberized cluster. I have followed the Cloudera documentation and added the principal in the CSD and the ticket is correctly acquired for my user. This works fine for HDFS, however fails for HBASE with the error: Insufficient permissions (user=testuser/, scope=default, params=[namespace=default,table=default:TEST,family=|NAME|AGE],action=CREATE)

How do I grant the required hbase-access to my user programatically through the CSD? Is there a way I can retrieve the HBASE-keytab along with the HBASE-principal programatically in my control script or through the service descriptor and call kinit on it?