mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
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 <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>