No valid credentials provided (Mechanism level: Failed to find any Kerbero

24 views
Skip to first unread message

xpar...@gmail.com

unread,
Sep 28, 2017, 3:45:23 AM9/28/17
to HBase Indexer Users

I have setup the hbase, solr and hbase-indexer under the kerberos environment.
My solr and hbase is working fine and i'm able to write the data in solr collection and hbase tables

but i'm getting issue when the data is replicated to solr collection with hbase-indexer

This error we get in hbase indexer logs

Caused by: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)

i have attached the file in which my jaas file configuration and hbase-indexer-site.xml file configuration written.

Please help me for that..i was stuck on that from last 2 weeks.

<configuration>

<property>
  <name>hbaseindexer.zookeeper.connectstring</name>
  <value>zk1:2181,zk2:2181,zk3:2181</value>
</property>
<property>
  <name>hbase.zookeeper.quorum</name>
  <value>zk1,zk2,zk3</value>
</property>
<property>
    <name>hbaseindexer.authentication.type</name>
    <value>kerberos</value>
  </property>
  <property>
    <name>hbaseindexer.authentication.kerberos.keytab</name>
    <value>/hbase/conf/hbase.keytab</value>
  </property>
  <property>
    <name>hbaseindexer.authentication.kerberos.principal</name>
    <value>hbase/_HOST@company</value>
  </property>
  <property>
    <name>hbaseindexer.authentication.kerberos.name.rules</name>
   <value>DEFAULT</value>
  </property>
</configuration>


export JAVA_HOME=/opt/jdk1.8.0_102 export HBASE_INDEXER_CLI_ZK=zk1:2181,zk2:2181,zk3:2181 export HBASE_INDEXER_OPTS="$HBASE_INDEXER_OPTS -XX:+UseConcMarkSweepGC -Djava.security.auth.login.config=/jaas/hbase-jaas.conf -Djavax.net.ssl.trustStore=/indexer/solr-truststore.jks -Djavax.net.ssl.trustStorePassword=password"


Client { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="/hbase/conf/hbase.keytab" storeKey=true useTicketCache=false debug=true principal="hbase/hostname@company"; };
Reply all
Reply to author
Forward
0 new messages