Issue when using keytab and principal to access HBase from Spark program
up vote
0
down vote
favorite
I have to access to connect to HBase from Spark to do the streaming. I have used --keytab and --principal in spark-submit options. But it was throwing me 'java.lang.NullPointerException' error when submitting the program.
I tried to submit the program without keytab in principal in spark-submit options. But it was throwing the below error when spark tries to connect to HBase.
SASL authentication failed. The most likely cause is missing or invalid credentials. Consider 'kinit'.javax.security.sasl.SaslException: GSS initiate failed
Can someone please help me on this.
Thanks
apache-spark hbase
add a comment |
up vote
0
down vote
favorite
I have to access to connect to HBase from Spark to do the streaming. I have used --keytab and --principal in spark-submit options. But it was throwing me 'java.lang.NullPointerException' error when submitting the program.
I tried to submit the program without keytab in principal in spark-submit options. But it was throwing the below error when spark tries to connect to HBase.
SASL authentication failed. The most likely cause is missing or invalid credentials. Consider 'kinit'.javax.security.sasl.SaslException: GSS initiate failed
Can someone please help me on this.
Thanks
apache-spark hbase
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have to access to connect to HBase from Spark to do the streaming. I have used --keytab and --principal in spark-submit options. But it was throwing me 'java.lang.NullPointerException' error when submitting the program.
I tried to submit the program without keytab in principal in spark-submit options. But it was throwing the below error when spark tries to connect to HBase.
SASL authentication failed. The most likely cause is missing or invalid credentials. Consider 'kinit'.javax.security.sasl.SaslException: GSS initiate failed
Can someone please help me on this.
Thanks
apache-spark hbase
I have to access to connect to HBase from Spark to do the streaming. I have used --keytab and --principal in spark-submit options. But it was throwing me 'java.lang.NullPointerException' error when submitting the program.
I tried to submit the program without keytab in principal in spark-submit options. But it was throwing the below error when spark tries to connect to HBase.
SASL authentication failed. The most likely cause is missing or invalid credentials. Consider 'kinit'.javax.security.sasl.SaslException: GSS initiate failed
Can someone please help me on this.
Thanks
apache-spark hbase
apache-spark hbase
asked Nov 21 at 5:54
Indira
315
315
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53406015%2fissue-when-using-keytab-and-principal-to-access-hbase-from-spark-program%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown