[
https://issues.apache.org/jira/browse/KYLIN-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15737952#comment-15737952
]
Dong Li commented on KYLIN-1793:
--------------------------------
Hi Hongbin and Shaofeng,
The commit is:
https://github.com/apache/kylin/commit/99f1dd9d2460566748db2167e69a6a8a7689271d
The root cause is: we use "beeline -f xxx.sql;rm xxx.sq" to execute beeline
command before. The "rm xxx.sql" part always succeeds and will swallow the exit
code of "beeline -f xxx.sql'.
The fix is using a variable to record the exit code, and return it in the end.
Thanks.
> Job couldn't stop when hive commands got error with beeline
> -----------------------------------------------------------
>
> Key: KYLIN-1793
> URL: https://issues.apache.org/jira/browse/KYLIN-1793
> Project: Kylin
> Issue Type: Bug
> Components: Job Engine
> Affects Versions: v1.5.0, v1.5.1, v1.5.2
> Reporter: Shaofeng SHI
> Assignee: Dong Li
> Labels: newbie
> Fix For: v1.6.1
>
>
> Configure Kylin to use beeline as the hive command line; submit a cube build
> job, the job moves to 100% with success, while I found there was error in the
> hive related steps, but the error wasn't captured by Kylin;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)