Naresh P R created HIVE-23409:
---------------------------------

             Summary: 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


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