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