DRILL-2575: FragmentExecutor.cancel() blasts through state transitions regardless... 0.8.0 drill-0.8.0
authorChris Westin <cwestin@yahoo.com>
Thu, 26 Mar 2015 02:05:25 +0000 (19:05 -0700)
committerJacques Nadeau <jacques@apache.org>
Thu, 26 Mar 2015 04:11:23 +0000 (21:11 -0700)
commit462e50ce9c4b829c2a4bafdeb9763bfba677c726
tree2f26f7f823e32cf12cd004ba710f7b0aebccbf1a
parentdb2e032150ff85bc3c0bd0761efc118bc57a18bf
DRILL-2575: FragmentExecutor.cancel() blasts through state transitions regardless of current state

FragmentExecutor:
- Changed cancel() to behave asynchronously, and for the cancelation request to
  be checked at an appropriate place in the run() loop.
exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/FragmentExecutor.java