[
https://issues.apache.org/jira/browse/IMPALA-7175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775422#comment-16775422
]
ASF subversion and git services commented on IMPALA-7175:
---------------------------------------------------------
Commit 0963865da5de6e085c5af128e4af46372c6f09dd in impala's branch
refs/heads/2.x from Vuk Ercegovac
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=0963865 ]
IMPALA-7175: deflake check for failed impalad
test_native_functions_race checks for an impalad crash
by testing whether the number of impalads at the start and
end of the test is the same. A recent run was flaky since
the number of impalads at the start was incorrectly found
to be 2. This fix tries to make the test most robust by
determining the number of impalads based on how many
can evaluate a trivial test query. For these tests, its
assumed that the number of coordinators is the same as
the number of impalads in the cluster.
Change-Id: I97c6b398e43c6abb1df2b1783c26159137f14fa4
Reviewed-on: http://gerrit.cloudera.org:8080/10745
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> In a local FS build, test_native_functions_race thinks there are 2 impalads
> where there should be 1
> ---------------------------------------------------------------------------------------------------
>
> Key: IMPALA-7175
> URL: https://issues.apache.org/jira/browse/IMPALA-7175
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 3.1.0
> Reporter: Tianyi Wang
> Assignee: Vuk Ercegovac
> Priority: Critical
> Labels: broken-build
> Fix For: Impala 3.1.0
>
>
> In TestUdfExecution.test_native_functions_race, the test checks the number of
> impalads at the beginning and end of the test. In a local build there should
> be only 1 impalad but somehow the test found 2 at the beginning of the test
> and failed.
> {noformat}
> Stacktrace
> query_test/test_udfs.py:379: in test_native_functions_race
> assert len(cluster.impalads) == exp_num_impalads
> E assert 1 == 2
> E + where 1 = len([<tests.common.impala_cluster.ImpaladProcess object at
> 0xc9ffa90>])
> E + where [<tests.common.impala_cluster.ImpaladProcess object at
> 0xc9ffa90>] = <tests.common.impala_cluster.ImpalaCluster object at
> 0x6a5d510>.impalads
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]