You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Anonymous Coward (Code Review)" <ge...@cloudera.org> on 2026/04/22 11:54:10 UTC

[Impala-ASF-CR] IMPALA-14774: Increase HMS event sync wait time to avoid timeout

Hello Quanlong Huang, Sai Hemanth Gantasala, Csaba Ringhofer, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/24216

to look at the new patch set (#2).

Change subject: IMPALA-14774: Increase HMS event sync wait time to avoid timeout
......................................................................

IMPALA-14774: Increase HMS event sync wait time to avoid timeout

metadata/test_ddl.py::TestDdlStatements::test_truncate_table and
metadata/test_event_processing.py::TestEventSyncWaiting::test_txn
running concurrently on the same cluster has caused the issue.

TRUNCATE_TABLE with 24 partitions held the table write lock
for about 13 seconds. Event processing thread waited to acquire
the lock for test_truncate_table test.
Another thread waited for the HMS event sync to finish
(sync_hms_events_wait_time_s=10sec) till the latest event ID
for test_txn test. Since the truncate took over 10 seconds,
HMS event sync timed out and failed test.
This issue doesn't happen after IMPALA-14535 because HMS event
sync is optimised to wait for table level granularity instead
of waiting for global latest event id.

This change reduces the chance of such failure and is easy to
backport, even though the issue didn't occur since IMPALA-14535.

Testing:
- Executed existing tests.

Change-Id: Ib89c6f1928a1190942ec3c8001e0d8671d896857
---
M tests/metadata/test_event_processing.py
M tests/metadata/test_event_processing_base.py
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/16/24216/2
-- 
To view, visit http://gerrit.cloudera.org:8080/24216
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib89c6f1928a1190942ec3c8001e0d8671d896857
Gerrit-Change-Number: 24216
Gerrit-PatchSet: 2
Gerrit-Owner: Anonymous Coward <k....@gmail.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>