You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kh...@apache.org on 2014/03/19 00:43:28 UTC

svn commit: r1579090 - /hive/trunk/hcatalog/bin/hcat

Author: khorgath
Date: Tue Mar 18 23:43:28 2014
New Revision: 1579090

URL: http://svn.apache.org/r1579090
Log:
HIVE-6695 bin/hcat should include hbase jar and dependencies in the classpath [followup/clone of HCATALOG-621] (Nick Dimiduk via Sushanth Sowmyan)

Modified:
    hive/trunk/hcatalog/bin/hcat

Modified: hive/trunk/hcatalog/bin/hcat
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/bin/hcat?rev=1579090&r1=1579089&r2=1579090&view=diff
==============================================================================
--- hive/trunk/hcatalog/bin/hcat (original)
+++ hive/trunk/hcatalog/bin/hcat Tue Mar 18 23:43:28 2014
@@ -150,7 +150,7 @@ HADOOP_CLASSPATH=${HADOOP_CLASSPATH}:${H
 HBASE_HOME=${HBASE_HOME:-"/usr/lib/hbase"}
 HBASE_CONF_DIR=${HBASE_CONF_DIR:-"${HBASE_HOME}/conf"}
 if [ -d ${HBASE_HOME} ] ; then
-   for jar in $(find $HBASE_HOME -name *.jar -not -name thrift\*.jar); do
+   for jar in $(find $HBASE_HOME -name '*.jar' -not -name '*thrift*'); do
       HBASE_CLASSPATH=$HBASE_CLASSPATH:${jar}
    done
    export HADOOP_CLASSPATH="${HADOOP_CLASSPATH}:${HBASE_CLASSPATH}"