Support Questions
Find answers, ask questions, and share your expertise

Kafka access in HBase Coprocessor inside Kerberozied cluster



Kafka Access Inside HBase Co-processor code in Kerberoized Cluster




Cloudera : 5.11.1

Kafka: 0.10.1

HBase: 1.2.0


We are facing an issue for creating the Kafka producer instance inside the HBase coprocessor code inside a Kerberozied cluster.  Inside the code we already configure “” property using We observed that by default in having path /etc/hbase/conf have value export HBASE_OPTS="$HBASE_OPTS" which is pointing to hbase jaas.conf.

To confirm about the file permission we tried to read the jaas.conf file from /etc/ path and it is working fine.

We are getting “Jaas configuration not found” exception during the execution.

Below are the options we tried.

  • Setting the property “security.auth.login.config” and “” inside the code using by keeping kafka jaas.conf ,keytab in /etc/ folder.


  • We added the KafkaClient entry in hbase jaas.conf file having path /etc/hbase/conf/jaas.conf.


  • Kept Kafka jaas name as kafkajaas.conf and configured in having path /etc/hbase/conf in all the nodes.


  • In Cloudera Manager > HBase server set the property in “HBASE Client Advanced Configuration Snippet (Safety Valve) for”



 and deployed the client configuration.

We checked the default value of property “” using System.getProperty, the value given as /var/run/cloudera-scm-agent/process/<<hbase process>


Could anyone help on this?