FAQ
Repository: hive
Updated Branches:
   refs/heads/master f66478973 -> 68eab6485


HIVE-11203: Beeline force option doesn't force execution when errors occurred in a script.(Ferdinand, reviewed by Xuefu Zhang)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/68eab648
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/68eab648
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/68eab648

Branch: refs/heads/master
Commit: 68eab64859de0a484de97a5645e54e809d1a6e68
Parents: f664789
Author: Ferdinand Xu <cheng.a.xu@intel.com>
Authored: Wed Jul 8 20:58:22 2015 -0400
Committer: Ferdinand Xu <cheng.a.xu@intel.com>
Committed: Wed Jul 8 20:58:22 2015 -0400

----------------------------------------------------------------------
  beeline/src/java/org/apache/hive/beeline/BeeLine.java | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/68eab648/beeline/src/java/org/apache/hive/beeline/BeeLine.java
----------------------------------------------------------------------
diff --git a/beeline/src/java/org/apache/hive/beeline/BeeLine.java b/beeline/src/java/org/apache/hive/beeline/BeeLine.java
index 8928c0c..c760c94 100644
--- a/beeline/src/java/org/apache/hive/beeline/BeeLine.java
+++ b/beeline/src/java/org/apache/hive/beeline/BeeLine.java
@@ -792,7 +792,7 @@ public class BeeLine implements Closeable {
      FileInputStream initStream = null;
      try {
        initStream = new FileInputStream(fileName);
- return execute(getConsoleReader(initStream), true);
+ return execute(getConsoleReader(initStream), !getOpts().getForce());
      } catch (Throwable t) {
        handleException(t);
        return ERRNO_OTHER;

Search Discussions

  • Xuf at Jul 9, 2015 at 12:59 am
    Repository: hive
    Updated Branches:
       refs/heads/branch-1 2393eb7eb -> 4b0ebfad0


    HIVE-11203: Beeline force option doesn't force execution when errors occurred in a script.(Ferdinand, reviewed by Xuefu Zhang)


    Project: http://git-wip-us.apache.org/repos/asf/hive/repo
    Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/4b0ebfad
    Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/4b0ebfad
    Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/4b0ebfad

    Branch: refs/heads/branch-1
    Commit: 4b0ebfad0a914ac8ed4315673f493c8d4187033a
    Parents: 2393eb7
    Author: Ferdinand Xu <cheng.a.xu@intel.com>
    Authored: Wed Jul 8 20:58:22 2015 -0400
    Committer: Ferdinand Xu <cheng.a.xu@intel.com>
    Committed: Wed Jul 8 20:59:09 2015 -0400

    ----------------------------------------------------------------------
      beeline/src/java/org/apache/hive/beeline/BeeLine.java | 2 +-
      1 file changed, 1 insertion(+), 1 deletion(-)
    ----------------------------------------------------------------------


    http://git-wip-us.apache.org/repos/asf/hive/blob/4b0ebfad/beeline/src/java/org/apache/hive/beeline/BeeLine.java
    ----------------------------------------------------------------------
    diff --git a/beeline/src/java/org/apache/hive/beeline/BeeLine.java b/beeline/src/java/org/apache/hive/beeline/BeeLine.java
    index 8928c0c..c760c94 100644
    --- a/beeline/src/java/org/apache/hive/beeline/BeeLine.java
    +++ b/beeline/src/java/org/apache/hive/beeline/BeeLine.java
    @@ -792,7 +792,7 @@ public class BeeLine implements Closeable {
          FileInputStream initStream = null;
          try {
            initStream = new FileInputStream(fileName);
    - return execute(getConsoleReader(initStream), true);
    + return execute(getConsoleReader(initStream), !getOpts().getForce());
          } catch (Throwable t) {
            handleException(t);
            return ERRNO_OTHER;
  • Xuf at Jul 9, 2015 at 1:00 am
    Repository: hive
    Updated Branches:
       refs/heads/beeline-cli 102b23b16 -> f589e2c03


    HIVE-11203: Beeline force option doesn't force execution when errors occurred in a script.(Ferdinand, reviewed by Xuefu Zhang)


    Project: http://git-wip-us.apache.org/repos/asf/hive/repo
    Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/f589e2c0
    Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/f589e2c0
    Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/f589e2c0

    Branch: refs/heads/beeline-cli
    Commit: f589e2c03426aa9857030d7a9d787af9fb2a1b12
    Parents: 102b23b
    Author: Ferdinand Xu <cheng.a.xu@intel.com>
    Authored: Wed Jul 8 20:58:22 2015 -0400
    Committer: Ferdinand Xu <cheng.a.xu@intel.com>
    Committed: Wed Jul 8 20:59:53 2015 -0400

    ----------------------------------------------------------------------
      beeline/src/java/org/apache/hive/beeline/BeeLine.java | 2 +-
      1 file changed, 1 insertion(+), 1 deletion(-)
    ----------------------------------------------------------------------


    http://git-wip-us.apache.org/repos/asf/hive/blob/f589e2c0/beeline/src/java/org/apache/hive/beeline/BeeLine.java
    ----------------------------------------------------------------------
    diff --git a/beeline/src/java/org/apache/hive/beeline/BeeLine.java b/beeline/src/java/org/apache/hive/beeline/BeeLine.java
    index 1d468eb..c4dbcd4 100644
    --- a/beeline/src/java/org/apache/hive/beeline/BeeLine.java
    +++ b/beeline/src/java/org/apache/hive/beeline/BeeLine.java
    @@ -889,7 +889,7 @@ public class BeeLine implements Closeable {
          FileInputStream initStream = null;
          try {
            initStream = new FileInputStream(fileName);
    - return execute(getConsoleReader(initStream), true);
    + return execute(getConsoleReader(initStream), !getOpts().getForce());
          } catch (Throwable t) {
            handleException(t);
            return ERRNO_OTHER;

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedJul 9, '15 at 12:58a
activeJul 9, '15 at 1:00a
posts3
users1
websitehive.apache.org

1 user in discussion

Xuf: 3 posts

People

Translate

site design / logo © 2021 Grokbase