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


Change subject: IMPALA-8559 : Support config validation for event processor on 
HMS-3
......................................................................

IMPALA-8559 : Support config validation for event processor on HMS-3

This change adds support for HMS-3 specific configuration validation
EventProcessor. Some of the configurations which were part of HMS-2
are not applicable in HMS-3 based deployments. Patch uses MetastoreShim
to get the relevant configurations to validate.

Also, refactors the EventProcessorConfigValidator to make it simpler
and improve readbility.

Testing:
Ran MetastoreEventsProcessorTest against HMS-3 and HMS-2 minicluster.

Change-Id: I35b3dd93f4a90c103a402349e8b9cd36db39a259
---
M fe/src/compat-hive-2/java/org/apache/impala/compat/MetastoreShim.java
M fe/src/compat-hive-3/java/org/apache/impala/compat/MetastoreShim.java
A fe/src/main/java/org/apache/impala/catalog/events/ConfigValidator.java
A fe/src/main/java/org/apache/impala/catalog/events/DefaultConfigValidator.java
D 
fe/src/main/java/org/apache/impala/catalog/events/EventProcessorConfigValidator.java
A 
fe/src/main/java/org/apache/impala/catalog/events/EventPropertyRegexValidator.java
A 
fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventProcessorConfig.java
M 
fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java
M 
fe/src/test/java/org/apache/impala/catalog/events/MetastoreEventsProcessorTest.java
M fe/src/test/resources/hive-site.xml.py
10 files changed, 395 insertions(+), 369 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/72/13372/3
--
To view, visit http://gerrit.cloudera.org:8080/13372
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I35b3dd93f4a90c103a402349e8b9cd36db39a259
Gerrit-Change-Number: 13372
Gerrit-PatchSet: 3
Gerrit-Owner: Vihang Karajgaonkar <[email protected]>
Gerrit-Reviewer: Anurag Mantripragada <[email protected]>
Gerrit-Reviewer: Fredy Wijaya <[email protected]>

Reply via email to