[
https://issues.apache.org/jira/browse/IMPALA-7864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17602121#comment-17602121
]
ASF subversion and git services commented on IMPALA-7864:
---------------------------------------------------------
Commit 2aeb6013fa44e53031d82b7e7ca59d771037d60a in impala's branch
refs/heads/branch-4.1.1 from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2aeb6013f ]
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]>
Reviewed-on: http://gerrit.cloudera.org:8080/18951
Reviewed-by: Csaba Ringhofer <[email protected]>
Tested-by: Quanlong Huang <[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
> Fix For: Impala 4.1.0
>
>
> 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.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]