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

dzcxzl updated SPARK-39415:
---------------------------
    Summary: Local mode supports HadoopDelegationTokenManager  (was: Local mode 
supports delegationTokenManager)

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to