Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8378

test_cancel_select failed with Invalid query handle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • Impala 3.3.0
    • None
    • None
    • ghx-label-7

    Description

      Error Message

      query_test/test_cancellation.py:241: in test_cancel_select     self.execute_cancel_test(vector) query_test/test_cancellation.py:213: in execute_cancel_test     assert 'Cancelled' in str(thread.fetch_results_error) E   assert 'Cancelled' in "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: Invalid query handle: b64a91016fe343dd:fefaf60000000000\n" E    +  where "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: Invalid query handle: b64a91016fe343dd:fefaf60000000000\n" = str(ImpalaBeeswaxException()) E    +    where ImpalaBeeswaxException() = <Thread(Thread-5, stopped 139721936148224)>.fetch_results_error
      

      Stacktrace

      query_test/test_cancellation.py:241: in test_cancel_select
          self.execute_cancel_test(vector)
      query_test/test_cancellation.py:213: in execute_cancel_test
          assert 'Cancelled' in str(thread.fetch_results_error)
      E   assert 'Cancelled' in "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: Invalid query handle: b64a91016fe343dd:fefaf60000000000\n"
      E    +  where "ImpalaBeeswaxException:\n INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>\n MESSAGE: Invalid query handle: b64a91016fe343dd:fefaf60000000000\n" = str(ImpalaBeeswaxException())
      E    +    where ImpalaBeeswaxException() = <Thread(Thread-5, stopped 139721936148224)>.fetch_results_error
      

      Standard error

      SET client_identifier=query_test/test_cancellation.py::TestCancellationParallel::()::test_cancel_select[protocol:beeswax|table_format:rc/none|exec_option:{'batch_size':0;'num_nodes':0;'disable_codegen_rows_threshold':0;'disable_codegen':False;'abort_on_error':1;'exec_single_no;
      -- executing against localhost:21000
      use tpch_rc;
      
      -- 2019-03-30 23:15:53,293 INFO     MainThread: Started query 5e42c7ec2df1febb:b25eff7200000000
      SET client_identifier=query_test/test_cancellation.py::TestCancellationParallel::()::test_cancel_select[protocol:beeswax|table_format:rc/none|exec_option:{'batch_size':0;'num_nodes':0;'disable_codegen_rows_threshold':0;'disable_codegen':False;'abort_on_error':1;'exec_single_no;
      SET batch_size=0;
      SET num_nodes=0;
      SET disable_codegen_rows_threshold=0;
      SET disable_codegen=False;
      SET abort_on_error=1;
      SET cpu_limit_s=100000;
      SET debug_action=0:GETNEXT:WAIT|COORD_CANCEL_QUERY_FINSTANCES_RPC:FAIL;
      SET exec_single_node_rows_threshold=0;
      SET buffer_pool_limit=0;
      -- executing async: localhost:21000
      compute stats lineitem;
      
      -- 2019-03-30 23:15:53,359 INFO     MainThread: Started query f54a0ecfa32d40b4:07510d7a00000000
      SET client_identifier=query_test/test_cancellation.py::TestCancellationParallel::()::test_cancel_select[protocol:beeswax|table_format:rc/none|exec_option:{'batch_size':0;'num_nodes':0;'disable_codegen_rows_threshold':0;'disable_codegen':False;'abort_on_error':1;'exec_single_no;
      -- connecting to: localhost:21000
      -- fetching results from: <tests.common.impala_connection.OperationHandle object at 0x5d535d0>
      -- getting state for operation: <tests.common.impala_connection.OperationHandle object at 0x5d535d0>
      -- canceling operation: <tests.common.impala_connection.OperationHandle object at 0x5d535d0>
      -- 2019-03-30 23:15:53,427 INFO     Thread-5: Starting new HTTP connection (1): localhost
      -- closing query for operation handle: <tests.common.impala_connection.OperationHandle object at 0x5d535d0>
      

      Attachments

        Activity

          People

            asherman Andrew Sherman
            gaborkaszab Gabor Kaszab
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: