You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2020/06/19 12:04:00 UTC
[jira] [Comment Edited] (HIVE-23727) Improve SQLOperation log
handling when cleanup
[ https://issues.apache.org/jira/browse/HIVE-23727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17140483#comment-17140483 ]
Zhihua Deng edited comment on HIVE-23727 at 6/19/20, 12:03 PM:
---------------------------------------------------------------
In a busy env, the operation may be pended, perhaps the condition can be changed to _if (shouldRunAsync() && state == OperationState.PENDING_STATE)_
was (Author: dengzh):
In a busy env, the operation may be pended, Perhaps the condition can be changed to _if (shouldRunAsync() && state == OperationState.PENDING_STATE)_
> Improve SQLOperation log handling when cleanup
> ----------------------------------------------
>
> Key: HIVE-23727
> URL: https://issues.apache.org/jira/browse/HIVE-23727
> Project: Hive
> Issue Type: Improvement
> Reporter: Zhihua Deng
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The SQLOperation checks _if (shouldRunAsync() && state != OperationState.CANCELED && state != OperationState.TIMEDOUT)_ to cancel the background task. If true, the state should not be OperationState.CANCELED, so logging under the state == OperationState.CANCELED should never happen.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)