This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch kylin-on-parquet-v2 in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/kylin-on-parquet-v2 by this push: new e62ca6e KYLIN-4725 NSparkCubingStep returns error state when pause build job e62ca6e is described below commit e62ca6ebd19e336d009a36bf435ad2beb99f6080 Author: yaqian.zhang <598593...@qq.com> AuthorDate: Tue Sep 1 17:39:39 2020 +0800 KYLIN-4725 NSparkCubingStep returns error state when pause build job --- .../main/java/org/apache/kylin/job/execution/AbstractExecutable.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core-job/src/main/java/org/apache/kylin/job/execution/AbstractExecutable.java b/core-job/src/main/java/org/apache/kylin/job/execution/AbstractExecutable.java index 7f6ba2f..7628975 100644 --- a/core-job/src/main/java/org/apache/kylin/job/execution/AbstractExecutable.java +++ b/core-job/src/main/java/org/apache/kylin/job/execution/AbstractExecutable.java @@ -195,8 +195,9 @@ public abstract class AbstractExecutable implements Executable, Idempotent { result = null; try { result = doWork(executableContext); + } catch (JobStoppedException e) { + //The job be paused, ignore it } catch (Throwable e) { - logger.error("error running Executable: {}", this.toString()); catchedException = e; } finally { cleanup(result);