Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23117


Change subject: IMPALA-13285: Ignore COMMIT_TXN events on Apache Hive 3
......................................................................

IMPALA-13285: Ignore COMMIT_TXN events on Apache Hive 3

In Apache Hive 3, HMS doesn't provide the API to retrive WriteEvents
info of a given transaction. COMMIT_TXN event just contains a
transaction id so Impala can't process it.

This patch ignores COMMIT_TXN events when building on Apache Hive 3.

Tests:
 - Manually tested on Apache Hive 3. Verified EventProcessor still
   working after receiving COMMIT_TXN events.
 - TODO: Fix some FE tests

Change-Id: I863e39b3702028a14e83fed1fe912b441f2c28db
---
M fe/src/compat-apache-hive-3/java/org/apache/impala/compat/MetastoreShim.java
M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEvents.java
M 
fe/src/test/java/org/apache/impala/catalog/events/EventExecutorServiceTest.java
M 
fe/src/test/java/org/apache/impala/catalog/events/MetastoreEventsProcessorTest.java
M fe/src/test/java/org/apache/impala/testutil/TestUtils.java
5 files changed, 24 insertions(+), 31 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I863e39b3702028a14e83fed1fe912b441f2c28db
Gerrit-Change-Number: 23117
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>

Reply via email to