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

Siddharth Seth commented on HIVE-15917:
---------------------------------------

I'm not sure when this gets invoked in Hive. e.g. If a query is submitted, and 
there's no session available, will this get invoked up front, or only after a 
session is obtained.
If it is after a session is obtained, then mostly looks good.
May want to cap the timeOutMs to some value instead of shifting it each time - 
(will go -ve at some point, and to a really large value before that). This is 
in case someone decides to change the timeout in the future.

> incorrect error handling from BackgroundWork can cause beeline query to hang
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-15917
>                 URL: https://issues.apache.org/jira/browse/HIVE-15917
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-15917.01.patch, HIVE-15917.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to