ERROR supervisor.IndexerSupervisor: Problem starting indexer myIndexer

110 views
Skip to first unread message

李有星

unread,
Oct 12, 2015, 11:00:39 PM10/12/15
to HBase Indexer Users
I config hbase indexer cluster with kerberos.I put the keytab file in /etc/hbase-solr/conf and with hbase owner.But when I register an indexer. Hbase indexer log 

complained error:

15/10/10 16:22:29 ERROR supervisor.IndexerSupervisor: Problem starting indexer myIndexer

java.io.IOException: Running in secure mode, but config doesn't have a keytab

        at org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:236)

        at org.apache.hadoop.hbase.security.User$SecureHadoopUser.login(User.java:383)

        at org.apache.hadoop.hbase.security.User.login(User.java:250)

        at com.ngdata.sep.impl.SepConsumer.<init>(SepConsumer.java:163)

        at com.ngdata.hbaseindexer.supervisor.IndexerSupervisor.startIndexer(IndexerSupervisor.java:234)

        at com.ngdata.hbaseindexer.supervisor.IndexerSupervisor.init(IndexerSupervisor.java:141)

        at com.ngdata.hbaseindexer.Main.startServices(Main.java:153)

        at com.ngdata.hbaseindexer.Main.run(Main.java:109)

        at com.ngdata.hbaseindexer.Main.main(Main.java:97)


my /etc/hbase-solr/conf/hbase-indexer-site.xml has these config :

<property>   

<name>hbase.zookeeper.quorum</name>   

<value>host-172-17-110-49,host-172-17-110-78</value> 

</property>

<property>   

<name>hbaseindexer.zookeeper.connectstring</name>   

<value>host-172-17-110-49:2181,host-172-17-110-78:2181</value> 

</property>


<property>

    <name>hbaseindexer.authentication.type</name>

    <value>kerberos</value>

  </property>

  <property>

    <name>hbaseindexer.authentication.kerberos.keytab</name>

    <value>/etc/hbase/conf/hbase.keytab</value>

  </property>

  <property>

    <name>hbaseindexer.authentication.kerberos.principal</name>

    <value>HTTP/host-172-17-110-83@JKZL</value>

  </property>



I can login hbase and hadoop with the file that named '/etc/hbase/conf/hbase.keytab' in commandline at this server.

 Why lily can not find the keytab?


Ascot Moss

unread,
Oct 4, 2017, 10:39:03 AM10/4/17
to HBase Indexer Users
I have the same issue here, have you fixed the issue?
Reply all
Reply to author
Forward
0 new messages