You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "vitthal (Suhas) Gogate (JIRA)" <ji...@apache.org> on 2014/10/22 00:03:34 UTC

[jira] [Updated] (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:all-tabpanel ]

vitthal (Suhas) Gogate updated HIVE-8532:
-----------------------------------------
    Attachment: HIVE-8532.patch

[~ashutoshc]  Can you pl. review the patch?  Thx

> 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
>         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)