Impala Public Jenkins has submitted this change and it was merged. ( 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. Some tests in MetastoreEventsProcessorTest and EventExecutorServiceTest are skipped due to this. Tests: - Manually tested on Apache Hive 3. Verified that EventProcessor still works after receiving COMMIT_TXN events. - Passed some tests in MetastoreEventsProcessorTest and EventExecutorServiceTest that previously failed due to EventProcessor going into ERROR state. Change-Id: I863e39b3702028a14e83fed1fe912b441f2c28db Reviewed-on: http://gerrit.cloudera.org:8080/23117 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- 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, 45 insertions(+), 30 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: I863e39b3702028a14e83fed1fe912b441f2c28db Gerrit-Change-Number: 23117 Gerrit-PatchSet: 6 Gerrit-Owner: Quanlong Huang <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]>
