[
https://issues.apache.org/jira/browse/HIVE-8532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Navis updated HIVE-8532:
------------------------
Resolution: Fixed
Fix Version/s: 0.15.0
Status: Resolved (was: Patch Available)
Committed to trunk. Thanks vitthal (Suhas) Gogate, for the contribution.
> 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)