vanzin opened a new pull request #25805: [SPARK-29082][core] Skip delegation 
token generation if no credentials are available.
URL: https://github.com/apache/spark/pull/25805
 
 
   This situation can happen when an external system (e.g. Oozie) generates
   delegation tokens for a Spark application. The Spark driver will then run
   against secured services, have proper credentials (the tokens), but no
   kerberos credentials. So trying to do things that requires a kerberos
   credential fails.
   
   Instead, if no kerberos credentials are detected, just skip the whole
   delegation token code.
   
   Tested with an application that simulates Oozie; fails before the fix,
   passes with the fix. Also with other DT-related tests to make sure other
   functionality keeps working.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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]

Reply via email to