You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jx...@apache.org on 2015/10/13 18:22:42 UTC
hive git commit: HIVE-12058: Change hive script to record errors when
calling hbase fails (Yongzhi via Jimmy)
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 <jx...@cloudera.com>
Authored: Tue Oct 13 09:20:41 2015 -0700
Committer: Jimmy Xiang <jx...@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