rbalamohan opened a new pull request #1921:
URL: https://github.com/apache/hive/pull/1921


   https://issues.apache.org/jira/browse/HIVE-24695
   
   ### What changes were proposed in this pull request?
   There are cases when TezSessionState would not be able to start. (e.g 
resource constraints on YARN queues).
   
   However by this time, session directories & certain resources are localized. 
(e.g, hive-exec jars are stored in 
hdfs:///tmp/hive/hive/_tez_session_dir//hive-exec.jar). When tezClient is not 
started, it does not clear up the resources. This leaks ~100MB data in HDFS per 
failure.
   
   
   ### Why are the changes needed?
   Need to clear up resources in session directory, when errors are encountered 
in tez session init phase.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Small scale cluster


----------------------------------------------------------------
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:
us...@infra.apache.org



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

Reply via email to