Csaba Ringhofer has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24216 )
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 Reviewed-on: http://gerrit.cloudera.org:8080/24216 Reviewed-by: Csaba Ringhofer <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M tests/metadata/test_event_processing.py M tests/metadata/test_event_processing_base.py 2 files changed, 2 insertions(+), 2 deletions(-) Approvals: Csaba Ringhofer: Looks good to me, approved Impala Public Jenkins: Verified -- 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: merged Gerrit-Change-Id: Ib89c6f1928a1190942ec3c8001e0d8671d896857 Gerrit-Change-Number: 24216 Gerrit-PatchSet: 3 Gerrit-Owner: Anonymous Coward <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Sai Hemanth Gantasala <[email protected]>
