[jira] [Commented] (KYLIN-1793) Job couldn't stop when hive commands got error with beeline
[ https://issues.apache.org/jira/browse/KYLIN-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333511#comment-15333511 ] Shaofeng SHI commented on KYLIN-1793: - I manually run the beeline command in shell, and then use "echo $?" to check the exit code; The exit code is 2 instead of 0, that means the beeline works as expected, but not knowing why Kylin though the job got success. > 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 > > 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)
[jira] [Commented] (KYLIN-1793) Job couldn't stop when hive commands got error with beeline
[ https://issues.apache.org/jira/browse/KYLIN-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15737880#comment-15737880 ] hongbin ma commented on KYLIN-1793: --- what is the final solution to the JIRA? It's resolved without any explanation. can't find anything in KYLIN-1603 either > 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)
[jira] [Commented] (KYLIN-1793) Job couldn't stop when hive commands got error with beeline
[ https://issues.apache.org/jira/browse/KYLIN-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15737905#comment-15737905 ] Shaofeng SHI commented on KYLIN-1793: - [~lidong_sjtu] could you please add description on how this be fixed? 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)
[jira] [Commented] (KYLIN-1793) Job couldn't stop when hive commands got error with beeline
[ 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)
[jira] [Commented] (KYLIN-1793) Job couldn't stop when hive commands got error with beeline
[ https://issues.apache.org/jira/browse/KYLIN-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15739229#comment-15739229 ] Shaofeng SHI commented on KYLIN-1793: - Get it; Thanks Dong. > 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)