You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "dzcxzl (Jira)" <ji...@apache.org> on 2022/06/09 05:41:00 UTC

[jira] [Resolved] (SPARK-39415) Local mode supports HadoopDelegationTokenManager

     [ https://issues.apache.org/jira/browse/SPARK-39415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dzcxzl resolved SPARK-39415.
----------------------------
    Resolution: Duplicate

> Local mode supports HadoopDelegationTokenManager
> ------------------------------------------------
>
>                 Key: SPARK-39415
>                 URL: https://issues.apache.org/jira/browse/SPARK-39415
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.2.1
>            Reporter: dzcxzl
>            Priority: Minor
>
> Now in the kerberos environment, using spark-submit --master=local --proxy-user xxx cannot access Hive Meta Store, and using --keytab will not automatically relogin.
> {code:java}
> javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1743)
>         at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport.open(TUGIAssumingTransport.java:49)
>         at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:483)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org