Github user blrunner commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/459#discussion_r28495611
  
    --- Diff: 
tajo-core/src/main/java/org/apache/tajo/master/TajoMasterClientService.java ---
    @@ -623,6 +623,12 @@ public BoolProto killQuery(RpcController controller, 
QueryIdRequest request) thr
           try {
             context.getSessionManager().touch(request.getSessionId().getId());
             QueryId queryId = new QueryId(request.getQueryId());
    +
    +        QueryInProgress progress = 
context.getQueryJobManager().getQueryInProgress(queryId);
    +        if (progress == null || progress.isFinishState() || 
progress.isFinishing()) {
    --- End diff --
    
    Do we need to check the kill wait status surely?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to