[email protected] has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24216
Change subject: IMPALA-14774: Increase sync_hms_events_wait_time_s to avoid HMS event sync timeout ...................................................................... IMPALA-14774: Increase sync_hms_events_wait_time_s to avoid HMS event sync 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 timedout 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 patch increases the timeout value to reduce the chance of failure even if some builds do not have IMPALA-14535 fix. 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/1 -- 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: newchange Gerrit-Change-Id: Ib89c6f1928a1190942ec3c8001e0d8671d896857 Gerrit-Change-Number: 24216 Gerrit-PatchSet: 1 Gerrit-Owner: Anonymous Coward <[email protected]>
