hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihua Deng (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-23720) Background task may not be interrupted when operation being canceled or timeout
Date Thu, 18 Jun 2020 05:48:00 GMT

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

Zhihua Deng commented on HIVE-23720:
------------------------------------

Should do a further research as I see there no releaseDriverContext() was called.

https://issues.apache.org/jira/browse/HIVE-16426

> Background task may not be interrupted when operation being canceled or timeout
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-23720
>                 URL: https://issues.apache.org/jira/browse/HIVE-23720
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Zhihua Deng
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Now SQLOperation cancels the background task only when the condition is met:
> if (shouldRunAsync() && state != OperationState.CANCELED && state !=
OperationState.TIMEDOUT)
> The condition is evaluated to false when state is OperationState.CANCELED or OperationState.TIMEDOUT, 
but operations in such states should stop the background tasks to release resources.



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

Mime
View raw message