You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/02/28 15:04:52 UTC

[GitHub] wangyum opened a new pull request #23922: [SPARK-25689][FOLLOW-UP][CORE] Get proxy user's delegation tokens

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:
users@infra.apache.org


With regards,
Apache Git Services

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