You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by om...@apache.org on 2011/06/08 23:55:52 UTC
svn commit: r1133577 -
/hadoop/common/branches/branch-0.20-security-204/bin/hadoop-config.sh
Author: omalley
Date: Wed Jun 8 21:55:52 2011
New Revision: 1133577
URL: http://svn.apache.org/viewvc?rev=1133577&view=rev
Log:
HADOOP-7356. Fix bin/hadoop scripts (eyang via omalley)
Modified:
hadoop/common/branches/branch-0.20-security-204/bin/hadoop-config.sh
Modified: hadoop/common/branches/branch-0.20-security-204/bin/hadoop-config.sh
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-204/bin/hadoop-config.sh?rev=1133577&r1=1133576&r2=1133577&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-204/bin/hadoop-config.sh (original)
+++ hadoop/common/branches/branch-0.20-security-204/bin/hadoop-config.sh Wed Jun 8 21:55:52 2011
@@ -32,7 +32,7 @@ this="$bin/$script"
# the root of the Hadoop installation
export HADOOP_PREFIX=`dirname "$this"`/..
-if [ -d ${HADOOP_PREFIX}/share/hadoop ]; then
+if [ -d ${HADOOP_PREFIX}/share/hadoop/bin ]; then
export HADOOP_HOME=${HADOOP_PREFIX}/share/hadoop
else
export HADOOP_HOME=${HADOOP_PREFIX}