- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Spark History Server kerberos error
- Labels:
-
Apache Hadoop
-
Apache Spark
-
Kerberos
-
Security
Created on ‎12-26-2014 12:49 AM - edited ‎09-16-2022 02:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Since kerberos is activated, spark history server doesn't start.
9:33:47.771 AM | WARN | org.apache.hadoop.ipc.Client | Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate ailed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] |
9:33:47.771 AM | WARN | org.apache.hadoop.security.UserGroupInformation | PriviledgedActionException as:spark (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)] |
All other services are OK.
Someone has already had the same error ?
Created ‎01-08-2015 06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thank you for your feedback.
I have upgraded into CDH 5.3 and spark history server (via yarn) was successfully started.
regards,
Created ‎12-29-2014 03:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using spark on yarn or standalone spark? Note that standalone spark doesn't work with Kerberos.
Which version of CM are you using? Which version of CDH?
Thanks,
Darren
Created ‎01-05-2015 01:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
CDH 5.1.2 is used, so we have only one version of spark.
regards,
Created ‎01-05-2015 11:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your CDH version is 5.1.2. What is the Cloudera Manager version? Note that these can be different numbers.
Cloudera Manager allows you to add either Spark on YARN and Standalone Spark. These aren't different versions of the Spark binaries, they're different ways to deploy spark. In Cloudera Manager, these two are different service types. Which service type did you install? If you aren't sure which you are using, look at the Instances tab for your spark service. If you have any Master or Worker roles, then you're using Standalone Spark.
Are you using Spark on YARN or Standalone Spark?
Thanks,
Darren
Created ‎01-05-2015 09:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Darren,
thank you for your reply.
My CM is 5.1.2 and i'm using Standalone spark.
regards,
Created ‎01-07-2015 03:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
petibonvm,
I also had this issue in CDH 5.1.x. My advice would be to upgrade to CM/CDH 5.3 and use Spark on YARN. If that is not currently possible, the following work around is posted in the CM 5.1.x Release Notes:
The Spark History Server does not start when Kerberos authentication is enabled.
The Spark History Server does not start when managed by a Cloudera Manager 5.1 instance when Kerberos authentication is enabled.
- Go to the Spark service.
- Expand the History Server Default Group > Advanced category.
- Add the following configuration to the History Server Environment Advanced Configuration Snippet property:
SPARK_HISTORY_OPTS=-Dspark.history.kerberos.enabled=true \ -Dspark.history.kerberos.principal=principal \ -Dspark.history.kerberos.keytab=keytab
Created ‎01-08-2015 06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thank you for your feedback.
I have upgraded into CDH 5.3 and spark history server (via yarn) was successfully started.
regards,
