You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by th...@apache.org on 2014/03/28 23:56:12 UTC
svn commit: r1582900 -
/hive/branches/branch-0.13/hcatalog/webhcat/svr/src/main/bin/webhcat_server.sh
Author: thejas
Date: Fri Mar 28 22:56:12 2014
New Revision: 1582900
URL: http://svn.apache.org/r1582900
Log:
HIVE-6686 : webhcat does not honour -Dlog4j.configuration=$WEBHCAT_LOG4J of log4j.properties file on local filesystem. (Eugene Koifman via Thejas Nair)
Modified:
hive/branches/branch-0.13/hcatalog/webhcat/svr/src/main/bin/webhcat_server.sh
Modified: hive/branches/branch-0.13/hcatalog/webhcat/svr/src/main/bin/webhcat_server.sh
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.13/hcatalog/webhcat/svr/src/main/bin/webhcat_server.sh?rev=1582900&r1=1582899&r2=1582900&view=diff
==============================================================================
--- hive/branches/branch-0.13/hcatalog/webhcat/svr/src/main/bin/webhcat_server.sh (original)
+++ hive/branches/branch-0.13/hcatalog/webhcat/svr/src/main/bin/webhcat_server.sh Fri Mar 28 22:56:12 2014
@@ -211,13 +211,7 @@ else
fi
if [[ -z "$WEBHCAT_LOG4J" ]]; then
- if [[ -f "$base_dir/conf/webhcat-log4j.properties" ]]; then
- WEBHCAT_LOG4J="$base_dir/conf/webhcat-log4j.properties";
- elif [[ -f "$base_dir/conf/webhcat-log4j.properties" ]]; then
- WEBHCAT_LOG4J="$base_dir/conf/webhcat-log4j.properties";
- else
- WEBHCAT_LOG4J="webhcat-log4j.properties";
- fi
+ WEBHCAT_LOG4J="file://$base_dir/etc/webhcat/webhcat-log4j.properties";
fi
export HADOOP_USER_CLASSPATH_FIRST=true