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

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

Commit 15a5bfd5f618420645c4d3d1d38a54c9a286beaf in impala's branch 
refs/heads/master from Tamas Mate
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=15a5bfd5f ]

IMPALA-11159: Fix AttributeError in TestAsyncDDLTiming.test_ctas

TestAsyncDDLTiming.test_ctas is likely to be flaky, additionally it
throws AttributeError when fails which hides the details of the failure.
This commit fixes the AttributeError which is caused by the Impyla tests,
the Impyla handler is a HiveServer2Cursor object that does not have an
'id' attribute. Query string can be printed instead of the query id.

Testing:
 - Triggered test failure manually and verified the result.

Change-Id: Ibe78b3a3ee070a1edeaef5cf7ae8d9565a10141d
Reviewed-on: http://gerrit.cloudera.org:8080/18933
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> TestAsyncDDLTiming.test_ctas failed in S3 build
> -----------------------------------------------
>
>                 Key: IMPALA-11159
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11159
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Tamas Mate
>            Priority: Major
>              Labels: broken-build
>
> h3. Error Message
> {noformat}
> metadata/test_ddl.py:1135: in test_ctas self.wait_for_state(handle, 
> finished_state, 20, client=client) common/impala_test_suite.py:1125: in 
> wait_for_state self.wait_for_any_state(handle, [expected_state], timeout, 
> client) common/impala_test_suite.py:1141: in wait_for_any_state "last known 
> state {2}".format(handle.get_handle().id, expected_states, E AttributeError: 
> 'HiveServer2Cursor' object has no attribute 'id'
> {noformat}
> h3. Stacktrace
> {noformat}
> metadata/test_ddl.py:1135: in test_ctas
>     self.wait_for_state(handle, finished_state, 20, client=client)
> common/impala_test_suite.py:1125: in wait_for_state
>     self.wait_for_any_state(handle, [expected_state], timeout, client)
> common/impala_test_suite.py:1141: in wait_for_any_state
>     "last known state {2}".format(handle.get_handle().id, expected_states,
> E   AttributeError: 'HiveServer2Cursor' object has no attribute 'id'
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to