You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by GitBox <gi...@apache.org> on 2019/04/24 03:42:03 UTC

[GitHub] [kylin] guangxuCheng commented on a change in pull request #585: KYLIN-3936 MR/Spark task will still run after the job is stopped

guangxuCheng commented on a change in pull request #585: KYLIN-3936 MR/Spark task will still run after the job is stopped
URL: https://github.com/apache/kylin/pull/585#discussion_r277945700
 
 

 ##########
 File path: core-job/src/main/java/org/apache/kylin/job/execution/ExecutableManager.java
 ##########
 @@ -414,6 +414,22 @@ public void pauseJob(String jobId) {
             return;
         }
 
+        if (!(job.getStatus() == ExecutableState.READY
+            || job.getStatus() == ExecutableState.RUNNING)) {
+            logger.warn("The status of job " + jobId + " is " + job.getStatus().toString()
 
 Review comment:
   Add IllegalStateException

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services