Vihang Karajgaonkar has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/14916 )

Change subject: IMPALA-9257: Last event id should be advanced if all events are 
skipped
......................................................................

IMPALA-9257: Last event id should be advanced if all events are skipped

Events processor implements a filtering method which skips certain
unnecessary events (eg. events on blacklisted dbs and tables).
However, if the received batch has all the events which are filtered
out, it fails to update its lastSyncedEventId. This causes unnecessary
logs being printed in catalog and the same event batch being fetched
repeatedly.

Testing:
Modified existing test to compare event id after events on blacklisted
dbs and tables.

Change-Id: I7f94c1a8e8c221f504262d5591cda8c3a25c0c32
Reviewed-on: http://gerrit.cloudera.org:8080/14916
Reviewed-by: Anurag Mantripragada <[email protected]>
Reviewed-by: Quanlong Huang <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M 
fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java
M tests/custom_cluster/test_event_processing.py
2 files changed, 9 insertions(+), 3 deletions(-)

Approvals:
  Anurag Mantripragada: Looks good to me, but someone else must approve
  Quanlong Huang: Looks good to me, approved
  Impala Public Jenkins: Verified

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7f94c1a8e8c221f504262d5591cda8c3a25c0c32
Gerrit-Change-Number: 14916
Gerrit-PatchSet: 3
Gerrit-Owner: Vihang Karajgaonkar <[email protected]>
Gerrit-Reviewer: Anurag Mantripragada <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Vihang Karajgaonkar <[email protected]>

Reply via email to