HeartSaVioR commented on pull request #31056: URL: https://github.com/apache/spark/pull/31056#issuecomment-755077964
The further optimization should be depending on the possibility of "changes" in SparkConf on the fly. If we don't allow it (or at least Kafka/token related configuration), we just need to call `HadoopDelegationTokenManager.isServiceEnabled` once per JVM, and cache it to avoid calling per each get. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
