FAQ
Repository: hive
Updated Branches:
   refs/heads/branch-1 3f6a23086 -> 896e2a615


HIVE-12058: Change hive script to record errors when calling hbase fails (Yongzhi via Jimmy)


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

Branch: refs/heads/branch-1
Commit: 896e2a61519157ad7643cece343a1bd7f83d533d
Parents: 3f6a230
Author: Jimmy Xiang <jxiang@cloudera.com>
Authored: Tue Oct 13 09:20:41 2015 -0700
Committer: Jimmy Xiang <jxiang@cloudera.com>
Committed: Tue Oct 13 09:20:41 2015 -0700

----------------------------------------------------------------------
  bin/hive | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/896e2a61/bin/hive
----------------------------------------------------------------------
diff --git a/bin/hive b/bin/hive
index 5dc93fb..48a153a 100755
--- a/bin/hive
+++ b/bin/hive
@@ -244,13 +244,13 @@ fi
  if [[ -e $HBASE_HOME/bin/hbase ]] ; then
    HBASE_BIN="$HBASE_HOME/bin/hbase"
  fi
-HBASE_BIN=${HBASE_BIN:-"$(which hbase 2>/dev/null)"}
+HBASE_BIN=${HBASE_BIN:-"$(which hbase)"}

  # perhaps we've located HBase. If so, include its details on the classpath
  if [[ -n $HBASE_BIN ]] ; then
    # exclude ZK, PB, and Guava (See HIVE-2055)
    # depends on HBASE-8438 (hbase-0.94.14+, hbase-0.96.1+) for `hbase mapredcp` command
- for x in $($HBASE_BIN mapredcp 2>/dev/null | tr ':' '\n') ; do
+ for x in $($HBASE_BIN mapredcp | tr ':' '\n') ; do
      if [[ $x == *zookeeper* || $x == *protobuf-java* || $x == *guava* ]] ; then
        continue
      fi

Search Discussions

  • Jxiang at Oct 13, 2015 at 4:25 pm
    Repository: hive
    Updated Branches:
       refs/heads/master a25317351 -> a85c83df4


    HIVE-12058: Change hive script to record errors when calling hbase fails (Yongzhi via Jimmy)


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

    Branch: refs/heads/master
    Commit: a85c83df41167764c88eaba568c7ee13609ac0a7
    Parents: a253173
    Author: Jimmy Xiang <jxiang@cloudera.com>
    Authored: Tue Oct 13 09:20:41 2015 -0700
    Committer: Jimmy Xiang <jxiang@cloudera.com>
    Committed: Tue Oct 13 09:24:53 2015 -0700

    ----------------------------------------------------------------------
      bin/hive | 4 ++--
      1 file changed, 2 insertions(+), 2 deletions(-)
    ----------------------------------------------------------------------


    http://git-wip-us.apache.org/repos/asf/hive/blob/a85c83df/bin/hive
    ----------------------------------------------------------------------
    diff --git a/bin/hive b/bin/hive
    index 505aee0..9dc18a2 100755
    --- a/bin/hive
    +++ b/bin/hive
    @@ -247,13 +247,13 @@ fi
      if [[ -e $HBASE_HOME/bin/hbase ]] ; then
        HBASE_BIN="$HBASE_HOME/bin/hbase"
      fi
    -HBASE_BIN=${HBASE_BIN:-"$(which hbase 2>/dev/null)"}
    +HBASE_BIN=${HBASE_BIN:-"$(which hbase)"}

      # perhaps we've located HBase. If so, include its details on the classpath
      if [[ -n $HBASE_BIN ]] ; then
        # exclude ZK, PB, and Guava (See HIVE-2055)
        # depends on HBASE-8438 (hbase-0.94.14+, hbase-0.96.1+) for `hbase mapredcp` command
    - for x in $($HBASE_BIN mapredcp 2>/dev/null | tr ':' '\n') ; do
    + for x in $($HBASE_BIN mapredcp | tr ':' '\n') ; do
          if [[ $x == *zookeeper* || $x == *protobuf-java* || $x == *guava* ]] ; then
            continue
          fi

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedOct 13, '15 at 4:22p
activeOct 13, '15 at 4:25p
posts2
users1
websitehive.apache.org

1 user in discussion

Jxiang: 2 posts

People

Translate

site design / logo © 2021 Grokbase