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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to