phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: Phoenix + Spark + JDBC + Kerberos?
Date Thu, 15 Sep 2016 17:58:30 GMT
Using the keytab in the JDBC URL. That the way we use locally and we also
tried to run command line applications directly from the worker nodes and
it works, But inside the Spark Executor it doesn't...

2016-09-15 13:07 GMT-04:00 Josh Elser <josh.elser@gmail.com>:

> How do you expect JDBC on Spark Kerberos authentication to work? Are you
> using the principal+keytab options in the Phoenix JDBC URL or is Spark
> itself obtaining a ticket for you (via some "magic")?
>
>
> Jean-Marc Spaggiari wrote:
>
>> Hi,
>>
>> I tried to build a small app all under Kerberos.
>>
>> JDBC to Phoenix works
>> Client to HBase works
>> Client (puts) on Spark to HBase works.
>> But JDBC on Spark to HBase fails with a message like "GSSException: No
>> valid credentials provided (Mechanism level: Failed to
>> find any Kerberos tgt)]"
>>
>> Keytab is accessible on all the nodes.
>>
>> Keytab belongs to the user running the job, and executors are running
>> under that user name. So this is fine.
>>
>> Any idea of that this might be?
>>
>> Thanks,
>>
>> JMS
>>
>

Mime
View raw message