You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ascot Moss <as...@gmail.com> on 2017/10/04 14:18:45 UTC
ERROR ipc.AbstractRpcClient: SASL authentication failed
Hi,
I am trying to use hbase-indexer to index hbase table to Solr,
Solr 6.6
Hbase-Indexer 1.6
Hbase 1.2.5 with Kerberos enabled,
After putting new test rows into the Hbase table, I got the following error
from hbase-indexer thus it cannot write the data to solr :
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
Re: ERROR ipc.AbstractRpcClient: SASL authentication failed
Posted by Rick Leir <rl...@leirtech.com>.
Ascot,
At the risk of ... Can you disable Kerberos in Hbase? If not, then you
will have to provide a password!
Rick
On 2017-10-04 07:32 PM, Ascot Moss wrote:
> Does anyone use hbase indexer in index kerberos Hbase to solr?
>
> Pls help!
>
> On Wed, Oct 4, 2017 at 10:18 PM, Ascot Moss <as...@gmail.com> wrote:
>
>> Hi,
>>
>> I am trying to use hbase-indexer to index hbase table to Solr,
>>
>> Solr 6.6
>> Hbase-Indexer 1.6
>> Hbase 1.2.5 with Kerberos enabled,
>>
>>
>> After putting new test rows into the Hbase table, I got the following
>> error from hbase-indexer thus it cannot write the data to solr :
>>
>> 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.evaluateChalleng
>> e(GssKrb5Client.java:211)
>> at org.apache.hadoop.hbase.security.HBaseSaslRpcClient.saslConn
>> ect(HBaseSaslRpcClient.java:179)
>> at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.setupSa
>> slConnection(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(UserGro
>> upInformation.java:1698)
>> at
>>
>>
>> Any idea how to resolve this issue?
>>
>> Regards
>>
Re: ERROR ipc.AbstractRpcClient: SASL authentication failed
Posted by Ascot Moss <as...@gmail.com>.
Does anyone use hbase indexer in index kerberos Hbase to solr?
Pls help!
On Wed, Oct 4, 2017 at 10:18 PM, Ascot Moss <as...@gmail.com> wrote:
> Hi,
>
> I am trying to use hbase-indexer to index hbase table to Solr,
>
> Solr 6.6
> Hbase-Indexer 1.6
> Hbase 1.2.5 with Kerberos enabled,
>
>
> After putting new test rows into the Hbase table, I got the following
> error from hbase-indexer thus it cannot write the data to solr :
>
> 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.evaluateChalleng
> e(GssKrb5Client.java:211)
> at org.apache.hadoop.hbase.security.HBaseSaslRpcClient.saslConn
> ect(HBaseSaslRpcClient.java:179)
> at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.setupSa
> slConnection(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(UserGro
> upInformation.java:1698)
> at
>
>
> Any idea how to resolve this issue?
>
> Regards
>