hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1490100 - /hive/trunk/hcatalog/bin/hcat
Date Thu, 06 Jun 2013 01:11:57 GMT
Author: hashutosh
Date: Thu Jun  6 01:11:56 2013
New Revision: 1490100

URL: http://svn.apache.org/r1490100
Log:
HIVE-4459 : Script hcat is overriding HIVE_CONF_DIR variable (Jarek Jarcec Cecho via Ashutosh
Chauhan)

Modified:
    hive/trunk/hcatalog/bin/hcat

Modified: hive/trunk/hcatalog/bin/hcat
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/bin/hcat?rev=1490100&r1=1490099&r2=1490100&view=diff
==============================================================================
--- hive/trunk/hcatalog/bin/hcat (original)
+++ hive/trunk/hcatalog/bin/hcat Thu Jun  6 01:11:56 2013
@@ -91,7 +91,7 @@ if [ ! -d "$HIVE_LIB_DIR" ]; then
   exit 4;
 fi
 
-HIVE_CONF_DIR=${HIVE_HOME}/conf
+HIVE_CONF_DIR=${HIVE_CONF_DIR:-$HIVE_HOME/conf}
 if [ ! -d "$HIVE_CONF_DIR" ]; then
   echo "Cannot find conf dir within HIVE_HOME : $HIVE_CONF_DIR";
   exit 4;



Mime
View raw message