wangyum opened a new pull request #23922: [SPARK-25689][FOLLOW-UP][CORE] Get proxy user's delegation tokens URL: https://github.com/apache/spark/pull/23922 ## What changes were proposed in this pull request? This pr makes it get proxy user's delegation token, otherwise throws `AccessControlException`: ```java org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS] ... at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.waitForApplication(YarnClientSchedulerBackend.scala:95) at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:62) at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:185) ``` How to reproduce this issue: ```shell $ ssh user_adm@spark-getaway-host1 $ export HADOOP_PROXY_USER=user_a $ spark-sql --master yarn ``` ## How was this patch tested? Test on our production environment.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
