This is an automated email from the ASF dual-hosted git repository. shaofengshi pushed a commit to branch 2.5.x in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/2.5.x by this push: new 9b1e516 KYLIN 3790 return wrong error code when command executor is interrupted 9b1e516 is described below commit 9b1e516bfd66827536690ec6bbd566c308f3fb81 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 {