hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viji (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-8028) Hive should fail when sourced sub-script fails
Date Tue, 09 Sep 2014 05:51:28 GMT
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)

Mime
View raw message