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?