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

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

Commit 2040f665692f75685e2fe62cc3a608451aac4ffb in impala's branch 
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2040f6656 ]

IMPALA-14042: Deflake TestConcurrentRename.test_rename_drop

TestConcurrentRename.test_rename_drop has been flaky because the
INVALIDATE query may arrive ahead of the ALTER TABLE RENAME query. This
patch deflake it by changing the sleep with admission control wait and
catalog version check. The first INVALIDATE query will only start after
catalog version increase since CREATE TABLE query.

Testing:
Loop the test 50x and pass them all.

Change-Id: I2539d5755aae6d375400b9a1289a658d0e7ba888
Reviewed-on: http://gerrit.cloudera.org:8080/22876
Reviewed-by: Yida Wu <wydbaggio...@gmail.com>
Reviewed-by: Jason Fehr <jf...@cloudera.com>
Tested-by: Riza Suminto <riza.sumi...@cloudera.com>


> TestConcurrentRename.test_rename_drop failure
> ---------------------------------------------
>
>                 Key: IMPALA-14042
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14042
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: gaurav singh
>            Assignee: Riza Suminto
>            Priority: Major
>              Labels: broken-build
>             Fix For: Impala 5.0.0
>
>
> h3. Error Message
> ImpalaBeeswaxException: Query 1844ef491bd88a30:c835c7fd00000000 failed: 
> TableNotFoundException: Table not found: test_rename_drop_aaefe83a.tbl2
> h3. Stacktrace
> custom_cluster/test_concurrent_rename.py:48: in test_rename_drop 
> self.execute_query("invalidate metadata {}2".format(name)) 
> common/impala_test_suite.py:1134: in wrapper return function(*args, **kwargs) 
> common/impala_test_suite.py:1176: in execute_query return 
> self.__execute_query(self.client, query, query_options) 
> common/impala_test_suite.py:1312: in __execute_query return 
> impalad_client.execute(query, user=user) common/impala_connection.py:505: in 
> execute fetch_exec_summary=fetch_exec_summary) beeswax/impala_beeswax.py:195: 
> in execute handle = self.__execute_query(query_string.strip(), user=user) 
> beeswax/impala_beeswax.py:293: in __execute_query 
> self.wait_for_finished(handle) beeswax/impala_beeswax.py:319: in 
> wait_for_finished raise ImpalaBeeswaxException(error_log, None) E 
> ImpalaBeeswaxException: Query 1844ef491bd88a30:c835c7fd00000000 failed: E 
> TableNotFoundException: Table not found: test_rename_drop_aaefe83a.tbl2



--
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