Github user mccheah commented on the pull request:
https://github.com/apache/spark/pull/4106#issuecomment-75311934
Okay, so I actually ran the history server on Master with Kerberos
authentication, and *without* running kinit, I got the following error when
launching spark shell:
WARN security.UserGroupInformation: PriviledgedActionException as:mcheah
(auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed
[Caused by GSSException: No valid credentials provided (Mechanism level: Failed
to find any Kerberos tgt)]
15/02/20 11:54:57 WARN ipc.Client: 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)]
15/02/20 11:54:57 WARN security.UserGroupInformation:
PriviledgedActionException as:mcheah (auth:KERBEROS) cause:java.io.IOException:
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException:
No valid credentials provided (Mechanism level: Failed to find any Kerberos
tgt)]
java.io.IOException: Failed on local exception: java.io.IOException:
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException:
No valid credentials provided (Mechanism level: Failed to find any Kerberos
tgt)]; Host Details : local host is: "mcheah-VirtualBox/127.0.1.1"; destination
host is: "localhost":9000;
When I run kinit before launching my spark shell, the context is created
successfully and the history server works as normal.
This indicates that the need to run kinit isn't just limited to my patch
here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]