You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Vuk Ercegovac (JIRA)" <ji...@apache.org> on 2018/06/22 22:33:00 UTC

[jira] [Resolved] (IMPALA-7175) In a local FS build, test_native_functions_race thinks there are 2 impalads where there should be 1

     [ https://issues.apache.org/jira/browse/IMPALA-7175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vuk Ercegovac resolved IMPALA-7175.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.1.0

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 <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>

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