hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1133574 - /hadoop/common/branches/branch-0.20-security/bin/hadoop-config.sh
Date Wed, 08 Jun 2011 21:54:21 GMT
Author: omalley
Date: Wed Jun  8 21:54:21 2011
New Revision: 1133574

URL: http://svn.apache.org/viewvc?rev=1133574&view=rev
Log:
HADOOP-7356. Fix bin/hadoop scripts (eyang via omalley)
Minor tweak of fix to check

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

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



Mime
View raw message