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:26 UTC

svn commit: r1133575 - /hadoop/common/branches/branch-0.20-security-205/bin/hadoop-config.sh

Author: omalley
Date: Wed Jun  8 21:55:25 2011
New Revision: 1133575

URL: http://svn.apache.org/viewvc?rev=1133575&view=rev
Log:
HADOOP-7356. Fix bin/hadoop scripts (eyang via omalley)

Modified:
    hadoop/common/branches/branch-0.20-security-205/bin/hadoop-config.sh

Modified: hadoop/common/branches/branch-0.20-security-205/bin/hadoop-config.sh
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-205/bin/hadoop-config.sh?rev=1133575&r1=1133574&r2=1133575&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-205/bin/hadoop-config.sh (original)
+++ hadoop/common/branches/branch-0.20-security-205/bin/hadoop-config.sh Wed Jun  8 21:55:25 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}