Description
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.