[ 
https://issues.apache.org/jira/browse/HIVE-6726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13970020#comment-13970020
 ] 

Sushanth Sowmyan commented on HIVE-6726:
----------------------------------------

Thanks, Thejas!

Going ahead and committing as I have Thejas' approval to do so - he's having 
issues with his svn credentials currently.

> Hcat cli does not close SessionState
> ------------------------------------
>
>                 Key: HIVE-6726
>                 URL: https://issues.apache.org/jira/browse/HIVE-6726
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0, 0.14.0
>            Reporter: Sushanth Sowmyan
>            Assignee: Sushanth Sowmyan
>             Fix For: 0.14.0
>
>         Attachments: HIVE-6726.patch
>
>
> When running HCat E2E tests, it was observed that hcat cli left Tez sessions 
> on the RM which ultimately die upon timeout. Expected behavior is to clean 
> the Tez sessions immediately upon exit. This is causing slowness in system 
> tests as over time lot of orphan Tez sessions hang around.
> On looking through code, it seems obvious in retrospect because HCatCli 
> starts a SessionState, but does not explicitly call close on them, exiting 
> the jvm through System.exit instead. This needs to be changed to explicitly 
> call SessionState.close() before exiting.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to