[
https://issues.apache.org/jira/browse/IMPALA-7864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541202#comment-17541202
]
ASF subversion and git services commented on IMPALA-7864:
---------------------------------------------------------
Commit 861d63f74823b8165cd87028875f4429e59dedaf in impala's branch
refs/heads/master from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=861d63f74 ]
IMPALA-7864: (Addendum) Deflake test_replan_limit by postponing catalog fetches
TestLocalCatalogRetries.test_replan_limit runs REFRESH and SELECT
queries concurrently on a table, and expects one of the query hits
inconsistent metadata.
This patch increases the chance of inconsistent metadata by injecting
a latency (500ms) before each catalog fetch. So it's more likely that a
request is fetching stale metadata. Also bump up the timeout of
thread.join() so we can try out all the attempts.
Test
- Run test_replan_limit 1000 times without any error.
- Run all tests of TestLocalCatalogRetries 100 times without any error.
Change-Id: Ia5bdca7402039f1f24b7bf19595c2541fa32d0ad
Reviewed-on: http://gerrit.cloudera.org:8080/18537
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> TestLocalCatalogRetries::test_replan_limit is flaky
> ---------------------------------------------------
>
> Key: IMPALA-7864
> URL: https://issues.apache.org/jira/browse/IMPALA-7864
> Project: IMPALA
> Issue Type: Bug
> Components: Catalog
> Affects Versions: Impala 3.0, Impala 2.12.0
> Environment: Ubuntu 16.04
> Reporter: Jim Apple
> Assignee: Quanlong Huang
> Priority: Critical
> Labels: broken-build, catalog-v2, flaky
>
> In https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/3605/,
> TestLocalCatalogRetries::test_replan_limit failed on an unrelated patch. On
> my development machine, the test passed.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]