This is an automated email from the ASF dual-hosted git repository. shaofengshi pushed a commit to branch 2.6.x in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/2.6.x by this push: new 3c2be7d KYLIN 3790 return wrong error code when command executor is interrupted 3c2be7d is described below commit 3c2be7dea847937fda1f9db61d87cadf2a3f7958 Author: chenzhx <c...@apache.org> AuthorDate: Fri Jan 25 19:08:24 2019 +0800 KYLIN 3790 return wrong error code when command executor is interrupted --- .../src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java b/core-common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java index 5fef77b..6b8cf76 100644 --- a/core-common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java +++ b/core-common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java @@ -151,7 +151,7 @@ public class CliCommandExecutor { } catch (InterruptedException e) { // do nothing } - return Pair.newPair(0, "Killed"); + return Pair.newPair(1, "Killed"); } try {