You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2021/01/28 08:40:50 UTC

[GitHub] [hive] rbalamohan opened a new pull request #1921: HIVE-24695: Clean up session resources, if TezSession is unable to start

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



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


[GitHub] [hive] rbalamohan merged pull request #1921: HIVE-24695: Clean up session resources, if TezSession is unable to start

Posted by GitBox <gi...@apache.org>.
rbalamohan merged pull request #1921:
URL: https://github.com/apache/hive/pull/1921


   


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



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


[GitHub] [hive] rbalamohan merged pull request #1921: HIVE-24695: Clean up session resources, if TezSession is unable to start

Posted by GitBox <gi...@apache.org>.
rbalamohan merged pull request #1921:
URL: https://github.com/apache/hive/pull/1921


   


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



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