Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/22571 )

Change subject: IMPALA-13684: Improve waitForHmsEvent() to only wait for 
related events
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/22571/1/fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java
File 
fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java:

http://gerrit.cloudera.org:8080/#/c/22571/1/fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java@1729
PS1, Line 1729:         // Ignore IncompleteTable since no stale metadata on 
unloaded tables.
              :         tblNames.removeIf(s -> db.getTable(s) instanceof 
IncompleteTable);
We need to check DROP_TABLE events since the existence of the table could be 
stale. Consider dropping a table in Hive and then drop it again in Impala, the 
second statement should fail with "Table does not exist".



--
To view, visit http://gerrit.cloudera.org:8080/22571
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic033b7e197cd19505653c3ff80c4857cc474bcfc
Gerrit-Change-Number: 22571
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Comment-Date: Tue, 04 Mar 2025 14:01:11 +0000
Gerrit-HasComments: Yes

Reply via email to