Fang-Yu Rao created IMPALA-12526:
------------------------------------
Summary: 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
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)