You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2013/06/06 03:11:57 UTC
svn commit: r1490100 - /hive/trunk/hcatalog/bin/hcat
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;