Gordon Wang created HIVE-8532:
---------------------------------

             Summary: 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.13.1, 0.12.0
            Reporter: Gordon Wang


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)

Reply via email to