Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24044 )
Change subject: IMPALA-14788: Prevent Thread interrupt after completion ...................................................................... IMPALA-14788: Prevent Thread interrupt after completion When cancelling a thread, uses computeIfPresent to prevent interrupting the thread after the thread has finished all its work, which would leave the thread in an interrupted state if it's re-used later. Ensures the Thread's interrupted status is cleared after cancellable work is done. Moves logging after that work to avoid logging while holding a lock. Change-Id: I54af34d253511f18f59b5cd43f1cf57a26a772eb Reviewed-on: http://gerrit.cloudera.org:8080/24044 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M fe/src/main/java/org/apache/impala/service/Canceller.java 1 file changed, 15 insertions(+), 9 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/24044 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I54af34d253511f18f59b5cd43f1cf57a26a772eb Gerrit-Change-Number: 24044 Gerrit-PatchSet: 3 Gerrit-Owner: Michael Smith <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
