You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gunther Hagleitner (JIRA)" <ji...@apache.org> on 2014/11/22 03:13:34 UTC
[jira] [Commented] (HIVE-8532) return code of "source xxx" clause
is missing
[ https://issues.apache.org/jira/browse/HIVE-8532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221748#comment-14221748 ]
Gunther Hagleitner commented on HIVE-8532:
------------------------------------------
Can we commit this to branch 14 as well (0.14.1)?
> return code of "source xxx" clause is missing
> ---------------------------------------------
>
> Key: HIVE-8532
> URL: https://issues.apache.org/jira/browse/HIVE-8532
> Project: Hive
> Issue Type: Bug
> Components: Clients
> Affects Versions: 0.12.0, 0.13.1
> Reporter: Gordon Wang
> Fix For: 0.15.0
>
> Attachments: HIVE-8532.patch
>
>
> When executing "source <hql-file>" clause, hive client driver does not catch the return code of this command.
> This behaviour causes an issue when running hive query in Oozie workflow.
> When the "source" clause is put into a Oozie workflow, Oozie can not get the return code of this command. Thus, Oozie consider the "source" clause as successful all the time.
> So, when the "source" clause fails, the hive query does not abort and the oozie workflow does not abort either.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)