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 Smith (Jira)" <ji...@apache.org> on 2023/11/07 21:42:00 UTC

[jira] [Resolved] (IMPALA-12526) BackendConfig.INSTANCE could be null in the frontend test testResetMetadataDesc

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

Michael Smith resolved IMPALA-12526.
------------------------------------
    Fix Version/s: Impala 4.4.0
       Resolution: Fixed

> BackendConfig.INSTANCE could be null in the frontend test testResetMetadataDesc
> -------------------------------------------------------------------------------
>
>                 Key: IMPALA-12526
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12526
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Fang-Yu Rao
>            Assignee: Quanlong Huang
>            Priority: Major
>              Labels: broken-build, flaky-test
>             Fix For: Impala 4.4.0
>
>
> We found that [BackendConfig.INSTANCE|https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/analysis/ResetMetadataStmt.java#L265] could be null in the frontend test [testResetMetadataDesc()|https://github.com/apache/impala/blob/master/fe/src/test/java/org/apache/impala/util/CatalogOpUtilTest.java#L65] and thus [ResetMetadataStmt#toThrift()|https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/analysis/ResetMetadataStmt.java#L265] could fail with the following error.
> {code}
> Cannot invoke "org.apache.impala.service.BackendConfig.getHostname()" because "org.apache.impala.service.BackendConfig.INSTANCE" is null
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)