You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/07/10 05:26:00 UTC

[jira] [Work logged] (HIVE-23727) Improve SQLOperation log handling when cancel background

     [ https://issues.apache.org/jira/browse/HIVE-23727?focusedWorklogId=456995&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-456995 ]

ASF GitHub Bot logged work on HIVE-23727:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Jul/20 05:25
            Start Date: 10/Jul/20 05:25
    Worklog Time Spent: 10m 
      Work Description: dengzhhu653 opened a new pull request #1149:
URL: https://github.com/apache/hive/pull/1149


   ## NOTICE
   
   Please create an issue in ASF JIRA before opening a pull request,
   and you need to set the title of the pull request which starts with
   the corresponding JIRA issue number. (e.g. HIVE-XXXXX: Fix a typo in YYY)
   For more details, please see https://cwiki.apache.org/confluence/display/Hive/HowToContribute
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 456995)
    Time Spent: 2h 10m  (was: 2h)

> Improve SQLOperation log handling when cancel background
> --------------------------------------------------------
>
>                 Key: HIVE-23727
>                 URL: https://issues.apache.org/jira/browse/HIVE-23727
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zhihua Deng
>            Assignee: Zhihua Deng
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 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)