Vihang Karajgaonkar has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14457


Change subject: IMPALA-9052 : Events processor should skip blacklisted database 
and tables
......................................................................

IMPALA-9052 : Events processor should skip blacklisted database and tables

IMPALA-8797 introduced a configuration which can blacklist certain database and 
tables so
that catalog never loads them. This is useful to skip the Hive's internal 
book-keeping
tables which are unreadable by Impala (like Information schema and sys tables). 
However,
if there are events generated on such tables, the events processor goes into 
error state
because the database does not exist.

This patch adds support for ignoring blacklisted database and tables in the 
events
processor.

Testing:
1. Added a new test case which makes sure that events processor is not in error 
state
after receiving events on blacklisted tables and dbs.
2. Ran MetastoreEventsProcessorTest

Change-Id: Ic5a53b722e6225e9cad9954f447f821c2c677e60
---
M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEvents.java
M tests/custom_cluster/test_event_processing.py
2 files changed, 39 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/14457/1
--
To view, visit http://gerrit.cloudera.org:8080/14457
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5a53b722e6225e9cad9954f447f821c2c677e60
Gerrit-Change-Number: 14457
Gerrit-PatchSet: 1
Gerrit-Owner: Vihang Karajgaonkar <vih...@cloudera.com>

Reply via email to