You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Wenzhe Zhou (Jira)" <ji...@apache.org> on 2023/08/07 21:06:00 UTC

[jira] [Commented] (IMPALA-12340) custom_cluster.test_catalogd_ha.TestCatalogdHA.test_two_catalogd_with_force_active fails in exhaustive tests

    [ https://issues.apache.org/jira/browse/IMPALA-12340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751801#comment-17751801 ] 

Wenzhe Zhou commented on IMPALA-12340:
--------------------------------------

The issue could be re-produced by repeatedly running the test case for about 50 times in Jenkins or on local machine.

The issue was introduced by IMPALA-12304, for which we tried not to wake up the thread for update_catalogd RPC if there is no change for
elected active catalogd. Since we cannot hold mutex when calling SendUpdateCatalogdNotification(), it may cause the notification to
the condition variable not been processed. To fix the issue, revert the optimization added in IMPALA-12304.

> custom_cluster.test_catalogd_ha.TestCatalogdHA.test_two_catalogd_with_force_active fails in exhaustive tests
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-12340
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12340
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend, Catalog
>    Affects Versions: Impala 4.3.0
>            Reporter: Peter Rozsa
>            Assignee: Wenzhe Zhou
>            Priority: Major
>              Labels: test-failure
>
> custom_cluster.test_catalogd_ha.TestCatalogdHA.test_two_catalogd_with_force_active fails on the assertion that checks that only one catalog is active.
> h3. Error Message
> assert True != True + where True = <bound method CatalogdService.get_metric_value of <tests.common.impala_service.CatalogdService object at 0x7f9b432e8d90>>('catalog-server.active-status') + where <bound method CatalogdService.get_metric_value of <tests.common.impala_service.CatalogdService object at 0x7f9b432e8d90>> = <tests.common.impala_service.CatalogdService object at 0x7f9b432e8d90>.get_metric_value + and True = <bound method CatalogdService.get_metric_value of <tests.common.impala_service.CatalogdService object at 0x7f9b432e8a90>>('catalog-server.active-status') + where <bound method CatalogdService.get_metric_value of <tests.common.impala_service.CatalogdService object at 0x7f9b432e8a90>> = <tests.common.impala_service.CatalogdService object at 0x7f9b432e8a90>.get_metric_value
> h3. Stacktrace
> custom_cluster/test_catalogd_ha.py:372: in test_two_catalogd_with_force_active assert(catalogd_service_1.get_metric_value("catalog-server.active-status") E assert True != True E + where True = <bound method CatalogdService.get_metric_value of <tests.common.impala_service.CatalogdService object at 0x7f9b432e8d90>>('catalog-server.active-status') E + where <bound method CatalogdService.get_metric_value of <tests.common.impala_service.CatalogdService object at 0x7f9b432e8d90>> = <tests.common.impala_service.CatalogdService object at 0x7f9b432e8d90>.get_metric_value E + and True = <bound method CatalogdService.get_metric_value of <tests.common.impala_service.CatalogdService object at 0x7f9b432e8a90>>('catalog-server.active-status') E + where <bound method CatalogdService.get_metric_value of <tests.common.impala_service.CatalogdService object at 0x7f9b432e8a90>> = <tests.common.impala_service.CatalogdService object at 0x7f9b432e8a90>.get_metric_value



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org