Thanks. As hbase indexer is an ongoing service, using keytab would be better than manually using kinit. By the way, I have also tried to use kinit, the hbase indexer is still not able to read hbase (hbase meta).
Please help if you have any workaround! On Wed, Oct 4, 2017 at 10:20 PM, Ted Yu <[email protected]> wrote: > Consider using hbase-indexer's mailing list. > > Did you execute kinit for hbase-indexer prior to running it ? > > Cheers > > On Wed, Oct 4, 2017 at 7:15 AM, Ascot Moss <[email protected]> wrote: > > > Hi, > > > > I am trying to use hbase-indexer to index hbase table to Solr, > > > > Kerberos is enabled > > Hbase-Indexer is 1.6 > > Hbase is 1.2.5 with Kerberos enabled, > > Solr 6.6 > > > > After putting new test rows into the Hbase table, I got the following > error > > from hbase-indexer: > > > > WARN ipc.AbstractRpcClient: Exception encountered while connecting to the > > server : javax.security.sasl.SaslException: GSS initiate failed [Caused > by > > GSSException: No valid credentials provided (Mechanism level: Failed to > > find any Kerberos tgt)] > > > > ERROR ipc.AbstractRpcClient: SASL authentication failed. The most likely > > cause is missing or invalid credentials. Consider 'kinit'. > > javax.security.sasl.SaslException: GSS initiate failed [Caused by > > GSSException: No valid credentials provided (Mechanism level: Failed to > > find any Kerberos tgt)] > > at > > com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge( > > GssKrb5Client.java:211) > > at > > org.apache.hadoop.hbase.security.HBaseSaslRpcClient.saslConnect( > > HBaseSaslRpcClient.java:179) > > at > > org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection. > setupSaslConnection( > > RpcClientImpl.java:609) > > at > > org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection. > > access$600(RpcClientImpl.java:154) > > at > > org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection$2. > > run(RpcClientImpl.java:735) > > at > > org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection$2. > > run(RpcClientImpl.java:732) > > at java.security.AccessController.doPrivileged(Native Method) > > at javax.security.auth.Subject.doAs(Subject.java:422) > > at > > org.apache.hadoop.security.UserGroupInformation.doAs( > > UserGroupInformation.java:1698) > > at > > > > > > Any idea how to resolve this issue? > > > > Regards > > >
