vanzin opened a new pull request #23525: [SPARK-26595][core] Allow credential 
renewal based on kerberos ticket cache.
URL: https://github.com/apache/spark/pull/23525
 
 
   This change addes a new mode for credential renewal that does not require
   a keytab; it uses the local ticket cache instead, so it works while the
   user keeps the cache valid.
   
   This can be useful for, e.g., people running long spark-shell sessions where
   their kerberos login is kept up-to-date.
   
   The main change to enable this behavior is in HadoopDelegationTokenManager,
   with a small change in the HDFS token provider. The other changes are to 
avoid
   creating duplicate tokens when submitting the application to YARN; they allow
   the tokens from the scheduler to be sent to the YARN AM, reducing the round 
trips
   to HDFS.
   
   For that, the scheduler initialization code was changed a little bit so that
   the tokens are available when the YARN client is initialized. That basically
   takes care of a long-standing TODO that was in the code to clean up 
configuration
   propagation to the driver's RPC endpoint (in CoarseGrainedSchedulerBackend).
   
   Tested with an app designed to stress this functionality, with both keytab 
and
   cache-based logins. Some basic kerberos tests on k8s also.

----------------------------------------------------------------
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]

Reply via email to