incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tof...@apache.org
Subject svn commit: r1238056 - in /incubator/hcatalog/trunk: CHANGES.txt bin/hcat
Date Mon, 30 Jan 2012 22:40:42 GMT
Author: toffer
Date: Mon Jan 30 22:40:41 2012
New Revision: 1238056

URL: http://svn.apache.org/viewvc?rev=1238056&view=rev
Log:
HCATALOG-234 bin/hcat need to add hbase-site.xml in classpath (daijy via toffer)

Modified:
    incubator/hcatalog/trunk/CHANGES.txt
    incubator/hcatalog/trunk/bin/hcat

Modified: incubator/hcatalog/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/hcatalog/trunk/CHANGES.txt?rev=1238056&r1=1238055&r2=1238056&view=diff
==============================================================================
--- incubator/hcatalog/trunk/CHANGES.txt (original)
+++ incubator/hcatalog/trunk/CHANGES.txt Mon Jan 30 22:40:41 2012
@@ -113,6 +113,8 @@ Trunk (unreleased changes)
   OPTIMIZATIONS
 
   BUG FIXES
+  HCAT-234. bin/hcat need to add hbase-site.xml in classpath (daijy via toffer)
+
   HCAT-212. hcat trunk version should be updated (hashutosh)
 
   HCAT-230. Remove log4j compilation dependencies (enis via hashutosh)

Modified: incubator/hcatalog/trunk/bin/hcat
URL: http://svn.apache.org/viewvc/incubator/hcatalog/trunk/bin/hcat?rev=1238056&r1=1238055&r2=1238056&view=diff
==============================================================================
--- incubator/hcatalog/trunk/bin/hcat (original)
+++ incubator/hcatalog/trunk/bin/hcat Mon Jan 30 22:40:41 2012
@@ -65,6 +65,10 @@ done
 # Put our config file in the classpath
 HADOOP_CLASSPATH=${HADOOP_CLASSPATH}:${HCAT_CONF_DIR}
 
+if [ -n "$HBASE_CONF_DIR" ] && [ -d $HBASE_CONF_DIR ]; then
+    HADOOP_CLASSPATH=${HADOOP_CLASSPATH}:${HBASE_CONF_DIR}
+fi
+
 export HADOOP_CLASSPATH=$HADOOP_CLASSPATH
 export HADOOP_OPTS=$HADOOP_OPTS
 # run it



Mime
View raw message