[ 
https://issues.apache.org/jira/browse/HIVE-23409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-23409:
------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Pushed to master. Thanks, Naresh!

> If TezSession application reopen fails for Timeline service down, default 
> TezSession from SessionPool is closed after a retry
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-23409
>                 URL: https://issues.apache.org/jira/browse/HIVE-23409
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Naresh P R
>            Assignee: Naresh P R
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-23409.1.patch, HIVE-23409.patch
>
>
> we are closing a default session from TezSessionPool at here.
> [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java#L589]
> If all the sessions in a pool are destroyed, queries wait indefinitely at 
> TezSessionPool.getSession until HS2 restarts after other service recoveries.
> [HiveServer2-Background-Pool: Thread-12345]: tez.TezSessionPoolManager (:()) 
> - We are closing a default session because of retry failure.
> It's better if we allow retry & fail than hung.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to