Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23720

Background task may not be interrupted when operation being canceled or timeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • None
    • None
    • HiveServer2

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dengzh Zhihua Deng
              dengzh Zhihua Deng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m