You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Viji (JIRA)" <ji...@apache.org> on 2014/09/09 07:51:28 UTC

[jira] [Created] (HIVE-8028) Hive should fail when sourced sub-script fails

Viji created HIVE-8028:
--------------------------

             Summary: Hive should fail when sourced sub-script fails
                 Key: HIVE-8028
                 URL: https://issues.apache.org/jira/browse/HIVE-8028
             Project: Hive
          Issue Type: Bug
          Components: CLI
    Affects Versions: 0.12.0
            Reporter: Viji


The source-command executor is a CLI-only feature, and the fault lies here: https://github.com/apache/hive/blob/trunk/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java#L128. The processFile method within the source sub clause returns an "exit code" based on success or failure, which ought to be bubbled up if its non-zero, but we are plainly ignoring it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)