Github user ArtRand commented on the issue:
https://github.com/apache/spark/pull/19272
Hello @vanzin thanks for continuing to help with this. Please take another
look at this refactor.
In this change, there is one place to interact with
`hadoopDelegationTokens` from `CoarseGrainedSchedulerBackedn`:
`initializeHadoopDelegationTokens`. This method contains the logic for
initializing the tokens and setting a token renewer. It's also now
resource-manager specific. This seems cleaner than having a
`HadoopDelegationTokenManager` in `CoarseGrainedSchedulerBackend` because any
"token management" will always want to wrap`HadoopDelegationTokenManager` so
you can keep all the necessary information in one place. Of course, happy to
discuss further.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]