Shockang opened a new pull request #33674: URL: https://github.com/apache/spark/pull/33674
### What changes were proposed in this pull request? Add the credentials from previous JobConf into the new JobConf to reuse the FileSystem Delegation Token. ### Why are the changes needed? Spark Job creates a new JobConf (which will have a new Credentials) for every hive table partition, the token is not reused and gets fetched for every partition. This is slowing down the query as each delegation token has to go through KDC and SSL handshake on Secure Clusters. ### Does this PR introduce _any_ user-facing change? Yes, while user querying partitioned hive table. ### How was this patch tested? new test added. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
