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

ASF subversion and git services commented on IMPALA-9588:
---------------------------------------------------------

Commit 1a38924d20679ffeb4550766a30b3be56763dc71 in impala's branch 
refs/heads/master from Gabor Kaszab
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=1a38924 ]

IMPALA-9588: Add extra logging to cancel tests

There have been some cancel tests that are flaky and their logs didn't
reveal the root cause of the failures. Adding some extra logging so
that we can see a bit more of the nature of the failure.
The extra log message contains:
  - Query SQL
  - Message of the exception thrown during fetching the results
  - Query Status line from the query profile

Change-Id: Ied7100a9ea2e2f0611cf8e328e589b4c8e5d5100
Reviewed-on: http://gerrit.cloudera.org:8080/16985
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> test_cancel_insert failed with ImpalaBeeswaxException
> -----------------------------------------------------
>
>                 Key: IMPALA-9588
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9588
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 4.0
>            Reporter: Yongzhi Chen
>            Assignee: Gabor Kaszab
>            Priority: Major
>              Labels: broken-build, flaky
>
> test_cancellation.TestCancellationSerial.test_cancel_insert failed in 
> impala-asf-master-core-s3 build:
> query_test.test_cancellation.TestCancellationSerial.test_cancel_insert[protocol:
>  beeswax | table_format: parquet/none | exec_option: {'batch_size': 0, 
> 'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 'disable_codegen': 
> False, 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0} | 
> query_type: CTAS | mt_dop: 0 | wait_action: None | cancel_delay: 1 | 
> cpu_limit_s: 0 | query: select * from lineitem order by l_orderkey | 
> fail_rpc_action: None | join_before_close: False | buffer_pool_limit: 0]
> Error Message
> ImpalaBeeswaxException: ImpalaBeeswaxException:  INNER EXCEPTION: <class 
> 'thrift.Thrift.TApplicationException'>  MESSAGE: TException - service has 
> thrown: BeeswaxException(message=Invalid query handle: 
> cc4c5258e88c790b:8db6f87d00000000, log_context=, handle=QueryHandle(id=, 
> log_context=), errorCode=0, SQLState=HY000)
> Stacktrace
> query_test/test_cancellation.py:248: in test_cancel_insert
>     self.execute_cancel_test(vector)
> query_test/test_cancellation.py:167: in execute_cancel_test
>     vector.get_value('cancel_delay'), vector.get_value('join_before_close'))
> /data/jenkins/workspace/impala-asf-master-core-s3/repos/Impala/tests/util/cancel_util.py:41:
>  in cancel_query_and_validate_state
>     assert client.get_state(handle) != client.QUERY_STATES['EXCEPTION']
> /data/jenkins/workspace/impala-asf-master-core-s3/repos/Impala/tests/common/impala_connection.py:219:
>  in get_state
>     return self.__beeswax_client.get_state(operation_handle.get_handle())
> /data/jenkins/workspace/impala-asf-master-core-s3/repos/Impala/tests/beeswax/impala_beeswax.py:433:
>  in get_state
>     return self.__do_rpc(lambda: self.imp_service.get_state(query_handle))
> /data/jenkins/workspace/impala-asf-master-core-s3/repos/Impala/tests/beeswax/impala_beeswax.py:525:
>  in __do_rpc
>     raise ImpalaBeeswaxException(self.__build_error_message(t), t)
> E   ImpalaBeeswaxException: ImpalaBeeswaxException:
> E    INNER EXCEPTION: <class 'thrift.Thrift.TApplicationException'>
> E    MESSAGE: TException - service has thrown: 
> BeeswaxException(message=Invalid query handle: 
> cc4c5258e88c790b:8db6f87d00000000, log_context=, handle=QueryHandle(id=, 
> log_context=), errorCode=0, SQLState=HY000)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to