Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14457 )
Change subject: IMPALA-9052: Events processor should skip blacklisted database and table ...................................................................... IMPALA-9052: Events processor should skip blacklisted database and table 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 Reviewed-on: http://gerrit.cloudera.org:8080/14457 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> --- M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEvents.java M tests/custom_cluster/test_event_processing.py 2 files changed, 42 insertions(+), 2 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: Ic5a53b722e6225e9cad9954f447f821c2c677e60 Gerrit-Change-Number: 14457 Gerrit-PatchSet: 6 Gerrit-Owner: Vihang Karajgaonkar <vih...@cloudera.com> Gerrit-Reviewer: Anurag Mantripragada <anu...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com> Gerrit-Reviewer: Vihang Karajgaonkar <vih...@cloudera.com>