You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2018/01/24 02:31:35 UTC

kylin git commit: KYLIN-3112 The job 'Pause' operation has logic bug in the kylin server.

Repository: kylin
Updated Branches:
  refs/heads/master f988401d4 -> 6acb3aba1


KYLIN-3112 The job 'Pause' operation has logic bug in the kylin server.

Signed-off-by: Billy Liu <bi...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/6acb3aba
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/6acb3aba
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/6acb3aba

Branch: refs/heads/master
Commit: 6acb3aba1310424f9048f5eccfa2bdb42731308a
Parents: f988401
Author: peng.jianhua <pe...@zte.com.cn>
Authored: Fri Dec 15 18:35:33 2017 +0800
Committer: Billy Liu <bi...@apache.org>
Committed: Wed Jan 24 10:31:08 2018 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/kylin/rest/service/JobService.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/6acb3aba/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java
----------------------------------------------------------------------
diff --git a/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java b/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java
index e518837..c7fc47d 100644
--- a/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java
+++ b/server-base/src/main/java/org/apache/kylin/rest/service/JobService.java
@@ -626,6 +626,7 @@ public class JobService extends BasicService implements InitializingBean {
     public JobInstance pauseJob(JobInstance job) {
         aclEvaluate.checkProjectOperationPermission(job);
         getExecutableManager().pauseJob(job.getId());
+        job.setStatus(JobStatusEnum.STOPPED);
         return job;
     }