Quanlong Huang has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/18926 )

Change subject: IMPALA-11540: Add logs for ALTER_TABLE events that trigger slow 
metadata reload
......................................................................

IMPALA-11540: Add logs for ALTER_TABLE events that trigger slow metadata reload

ALTER_TABLE event could trigger full refresh on the table, which is
time consuming and can lead to event-processor lagging behind. We need
logs to show the difference between the before and after hmsTables so we
can further distinguish the cases that actully don't need a full table
refresh, e.g. changing the owner, changing tblproperties, etc.

Tests:
 - Attach the process using IntelliJ to pause the metadata loading for a
   while. So the metadata reloading of ALTER_TABLE event can exceed the
   threshold. Manually verified the logs.

Change-Id: Ibf344e6b423f88c9635ca8d61d53385b88ba4dce
Reviewed-on: http://gerrit.cloudera.org:8080/18926
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Quanlong Huang <[email protected]>
---
M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEvents.java
1 file changed, 20 insertions(+), 0 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved
  Quanlong Huang: Verified

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf344e6b423f88c9635ca8d61d53385b88ba4dce
Gerrit-Change-Number: 18926
Gerrit-PatchSet: 7
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Xiang Yang <[email protected]>
Gerrit-Reviewer: Yu-Wen Lai <[email protected]>

Reply via email to