[
https://issues.apache.org/jira/browse/IMPALA-11965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17698518#comment-17698518
]
ASF subversion and git services commented on IMPALA-11965:
----------------------------------------------------------
Commit e15610633e5170559b6a0dd3cad10be1de0ebcd8 in impala's branch
refs/heads/dependabot/pip/infra/python/deps/wheel-0.38.1 from Yida Wu
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=e15610633 ]
IMPALA-11965: Fix TestCodegenCache failure when codegen cache disabled by
default
The patch fixes the testcase TestCodegenCache failure when the codegen
cache is changed to be disabled by default, because the testcase
assumes the codegen cache is enabled with the default setting.
The solution is to specify a default value to codegen_cache_capacity
in the testcase's start option, so that manually ensures the
codegen cache is on during the test.
Tests:
Passed TestCodegenCache in the exhaustive run with codegen cache
disabled by default.
Change-Id: I749a6ba68553834bdea908741aa7449ed32cd569
Reviewed-on: http://gerrit.cloudera.org:8080/19574
Reviewed-by: Zoltan Borok-Nagy <[email protected]>
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> TestCodegenCache fails in exhaustive runs
> -----------------------------------------
>
> Key: IMPALA-11965
> URL: https://issues.apache.org/jira/browse/IMPALA-11965
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Reporter: Zoltán Borók-Nagy
> Assignee: Yida Wu
> Priority: Major
> Labels: broken-build
> Fix For: Impala 4.3.0
>
>
> TestCodegenCache fails with the following errors:
>
> {noformat}
> AssertionError: Could not find metric: impala.codegen-cache.entries-evicted
> AssertionError: Could not find metric: impala.codegen-cache.entries-in-use
> {noformat}
>
> Example stack trace:
> {noformat}
> custom_cluster/test_codegen_cache.py:89: in test_codegen_cache_date_string_col
> "select * from functional.alltypes where date_string_col != ''")
> custom_cluster/test_codegen_cache.py:141: in _test_codegen_cache
> self._check_metric_expect_init()
> custom_cluster/test_codegen_cache.py:131: in _check_metric_expect_init
> assert self.get_metric('impala.codegen-cache.entries-evicted') == 0
> common/impala_test_suite.py:509: in get_metric
> assert False, "Could not find metric: %s" % name
> E AssertionError: Could not find metric:
> impala.codegen-cache.entries-evicted{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]