hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1096645 - in /hadoop/hdfs/trunk: CHANGES.txt bin/hdfs-config.sh
Date Tue, 26 Apr 2011 03:15:02 GMT
Author: eli
Date: Tue Apr 26 03:15:02 2011
New Revision: 1096645

URL: http://svn.apache.org/viewvc?rev=1096645&view=rev
Log:
HDFS-1823. start-dfs.sh script fails if HADOOP_HOME is not set. Contributed by Tom White

Modified:
    hadoop/hdfs/trunk/CHANGES.txt
    hadoop/hdfs/trunk/bin/hdfs-config.sh

Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=1096645&r1=1096644&r2=1096645&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Tue Apr 26 03:15:02 2011
@@ -679,6 +679,9 @@ Release 0.22.0 - Unreleased
 
     HDFS-1666. Disable failing hdfsproxy test TestAuthorizationFilter (todd)
 
+    HDFS-1823. start-dfs.sh script fails if HADOOP_HOME is not set.
+    (tomwhite via eli)
+
 Release 0.21.1 - Unreleased
 
   IMPROVEMENTS

Modified: hadoop/hdfs/trunk/bin/hdfs-config.sh
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/bin/hdfs-config.sh?rev=1096645&r1=1096644&r2=1096645&view=diff
==============================================================================
--- hadoop/hdfs/trunk/bin/hdfs-config.sh (original)
+++ hadoop/hdfs/trunk/bin/hdfs-config.sh Tue Apr 26 03:15:02 2011
@@ -27,6 +27,8 @@ if [ -d "${HADOOP_COMMON_HOME}" ]; then
   . "$HADOOP_COMMON_HOME"/bin/hadoop-config.sh
 elif [ -d "${HADOOP_HOME}" ]; then
   . "$HADOOP_HOME"/bin/hadoop-config.sh
+elif [ -e "${HADOOP_HDFS_HOME}"/bin/hadoop-config.sh ]; then
+  . "$HADOOP_HDFS_HOME"/bin/hadoop-config.sh
 else
   echo "Hadoop common not found."
   exit



Mime
View raw message