[email protected] has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20487


Change subject: IMPALA-12399: (addendum) Fixed possible deadloop
......................................................................

IMPALA-12399: (addendum) Fixed possible deadloop

OPEN_TXN is not fetched with get_next_notification() as an
optimization. It can cause a deadloop in
MetastoreEventsProcessor#getNextMetastoreEventsInBatches()
when OPEN_TXN is the last event on HMS at the moment the
method is invoked. Need to return when events received
in response is empty.

Change-Id: Idb4b8c3db23d39226f10b33cca4e6a1ab271b925
---
M 
fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java
1 file changed, 7 insertions(+), 0 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idb4b8c3db23d39226f10b33cca4e6a1ab271b925
Gerrit-Change-Number: 20487
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <[email protected]>

Reply via email to