You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Michael Ho (JIRA)" <ji...@apache.org> on 2017/11/17 02:57:00 UTC

[jira] [Resolved] (IMPALA-6184) Check failed: !initialized_ || closed_

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

Michael Ho resolved IMPALA-6184.
--------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.11.0

Fixed at https://github.com/apache/incubator-impala/commit/3ddafcd29505614a01c8f4362396635c84ab4052

IMPALA-6184: Clean up after ScalarExprEvaluator::Clone() fails
When ScalarExprEvaluator::Clone() fails, the newly created evaluator was
not added to the output vector. This makes it impossible for callers to
close and clean up the evaluators afterwards. This change fixes this by
always adding the newly created evaluator to the output vector before
checking for the error status.

This path is only exercised in the scanner code. Two new tests are added
to exercise the failure paths.

Testing done: newly added tests in udf-errors.test

Change-Id: I45ffd722d0a69ad05ae3c748cf504c7f1a959a1d
Reviewed-on: http://gerrit.cloudera.org:8080/8572
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
Tested-by: Impala Public Jenkins

> Check failed: !initialized_ || closed_ 
> ---------------------------------------
>
>                 Key: IMPALA-6184
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6184
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 2.11.0
>            Reporter: Taras Bobrovytsky
>            Assignee: Michael Ho
>            Priority: Blocker
>              Labels: broken-build
>             Fix For: Impala 2.11.0
>
>
> A DCHECK was hit in an ASAN build when running query_test/test_udfs.py::TestUdfExecution::test_java_udfs
> From impalad.FATAL:
> {code}
> F1113 02:38:42.816524 23431 scalar-expr-evaluator.cc:70] Check failed: !initialized_ || closed_ 
> F1113 02:38:42.878442 23486 scalar-expr-evaluator.cc:70] Check failed: !initialized_ || closed_ 
> F1113 02:38:42.878442 23486 scalar-expr-evaluator.cc:70] Check failed: !initialized_ || closed_ F1113 02:38:42.898176 23490 scalar-expr-evaluator.cc:70] Check failed: !initialized_ || closed_ 
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)