Explorar o código

HADOOP-7356. Fix bin/hadoop scripts (eyang via omalley)
Minor tweak of fix to check


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security@1133574 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley %!s(int64=14) %!d(string=hai) anos
pai
achega
2e67294072
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/hadoop-config.sh

+ 1 - 1
bin/hadoop-config.sh

@@ -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}