You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2016/08/08 03:03:47 UTC
kylin git commit: KYLIN-1933
Repository: kylin
Updated Branches:
refs/heads/master 3aab0201a -> 2f166580c
KYLIN-1933
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/2f166580
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/2f166580
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/2f166580
Branch: refs/heads/master
Commit: 2f166580c7710cd410a4dce818414d378102ce5d
Parents: 3aab020
Author: shaofengshi <sh...@apache.org>
Authored: Mon Aug 8 11:03:00 2016 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Mon Aug 8 11:03:00 2016 +0800
----------------------------------------------------------------------
.../java/org/apache/kylin/rest/controller/JobController.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/2f166580/server-base/src/main/java/org/apache/kylin/rest/controller/JobController.java
----------------------------------------------------------------------
diff --git a/server-base/src/main/java/org/apache/kylin/rest/controller/JobController.java b/server-base/src/main/java/org/apache/kylin/rest/controller/JobController.java
index dce3847..7022bfc 100644
--- a/server-base/src/main/java/org/apache/kylin/rest/controller/JobController.java
+++ b/server-base/src/main/java/org/apache/kylin/rest/controller/JobController.java
@@ -87,9 +87,8 @@ public class JobController extends BasicController implements InitializingBean {
public void run() {
try {
scheduler.init(new JobEngineConfig(kylinConfig), jobLock);
- while (!scheduler.hasStarted()) {
- logger.error("scheduler has not been started");
- Thread.sleep(1000);
+ if (!scheduler.hasStarted()) {
+ logger.info("Job engine doesn't start in this node.");
}
} catch (Exception e) {
throw new RuntimeException(e);