Quanlong Huang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22817
Change subject: IMPALA-13993: waitForHmsEvent should check table events under missing dbs ...................................................................... IMPALA-13993: waitForHmsEvent should check table events under missing dbs When a db is missing in the catalog cache, waitForHmsEvent request currently just check if there are pending database events on it, assuming processing the CREATE_DATABASE event will add the db with the table list. However, that's wrong since processing CREATE_DATABASE event just adds the db with an empty table list. We should still wait for pending events on underlying tables. Tests: - Added e2e test which consistenly fails when running concurrently with other tests in TestEventSyncWaiting without the fix. Change-Id: I3fe74fcf0bf4dbac4a3584f6603279c0a2730b0c --- M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java M tests/metadata/test_event_processing.py 2 files changed, 16 insertions(+), 7 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/17/22817/1 -- To view, visit http://gerrit.cloudera.org:8080/22817 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I3fe74fcf0bf4dbac4a3584f6603279c0a2730b0c Gerrit-Change-Number: 22817 Gerrit-PatchSet: 1 Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com>