[
https://issues.apache.org/jira/browse/IMPALA-14306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016394#comment-18016394
]
ASF subversion and git services commented on IMPALA-14306:
----------------------------------------------------------
Commit 774c01c2b50ea9108da5fd9e0fb608e1b903071f in impala's branch
refs/heads/master from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=774c01c2b ]
IMPALA-14306: Frontend.getDataSrcs() should retry for
InconsistentMetadataFetchException
After IMPALA-14283, coordinator will throw an
InconsistentMetadataFetchException when witness catalogd service ID
changes. The Frontend code should retry the request to use fresh
metadata. This patch resolves the TODO item in Frontend.getDataSrcs() to
add the retry as other methods do. Also change the catch clause in
LocalCatalog.getDataSources() so InconsistentMetadataFetchException can
be thrown from it.
Tests:
- Ran TestExtDataSources.test_catalogd_ha_failover 100 times.
Change-Id: I483423680a5c953aaf3446b62c8b8ee08d6c6385
Reviewed-on: http://gerrit.cloudera.org:8080/23347
Reviewed-by: Wenzhe Zhou <[email protected]>
Reviewed-by: Riza Suminto <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> TestExtDataSources.test_catalogd_ha_failover failed
> ---------------------------------------------------
>
> Key: IMPALA-14306
> URL: https://issues.apache.org/jira/browse/IMPALA-14306
> Project: IMPALA
> Issue Type: Bug
> Reporter: Xuebin Su
> Assignee: Quanlong Huang
> Priority: Critical
>
> h3. Stacktrace
> {code:java}
> custom_cluster/test_ext_data_sources.py:170: in test_catalogd_ha_failover
> assert "FailoverInSyncJdbcDataSource" in result.get_data()
> E assert 'FailoverInSyncJdbcDataSource' in ''
> E + where '' = <bound method ImpylaHS2ResultSet.get_data of
> <tests.common.impala_connection.ImpylaHS2ResultSet object at
> 0x7f4b7adfcad0>>()
> E + where <bound method ImpylaHS2ResultSet.get_data of
> <tests.common.impala_connection.ImpylaHS2ResultSet object at 0x7f4b7adfcad0>>
> = <tests.common.impala_connection.ImpylaHS2ResultSet object at
> 0x7f4b7adfcad0>.get_data{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]