cxzl25 commented on pull request #33621:
URL: https://github.com/apache/spark/pull/33621#issuecomment-892362241


   [HIVE-12853](https://issues.apache.org/jira/browse/HIVE-12853) (>=2.1) will 
create the `hive.downloaded.resources.dir` directory when constructing 
sessionstate.
   
https://github.com/apache/hive/blob/branch-2.1/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java#L389
   
   
   SPARK-35556 (Remove close HiveClient's SessionState) did not clean up the 
resource dir even when the Hive version was greater than or equal to 2.1.
   
   Currently need to clean up the resource dir and then 
`SessionState#detachSession`.
   


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

Reply via email to