hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r664193 - in /hadoop/core/trunk: CHANGES.txt bin/hadoop-daemon.sh
Date Fri, 06 Jun 2008 23:35:05 GMT
Author: omalley
Date: Fri Jun  6 16:35:05 2008
New Revision: 664193

URL: http://svn.apache.org/viewvc?rev=664193&view=rev
Log:
 HADOOP-3463. Hadoop-daemons script should cd to $HADOOP_HOME.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/bin/hadoop-daemon.sh

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=664193&r1=664192&r2=664193&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Jun  6 16:35:05 2008
@@ -522,6 +522,8 @@
     don't have fragments even when createSymLink is true. 
     (Abhijit Bagri via ddas) 
 
+    HADOOP-3463. Hadoop-daemons script should cd to $HADOOP_HOME. (omalley)
+
 Release 0.17.0 - 2008-05-18
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/bin/hadoop-daemon.sh
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/bin/hadoop-daemon.sh?rev=664193&r1=664192&r2=664193&view=diff
==============================================================================
--- hadoop/core/trunk/bin/hadoop-daemon.sh (original)
+++ hadoop/core/trunk/bin/hadoop-daemon.sh Fri Jun  6 16:35:05 2008
@@ -113,6 +113,7 @@
 
     hadoop_rotate_log $log
     echo starting $command, logging to $log
+    cd "$HADOOP_HOME"
     nohup nice -n $HADOOP_NICENESS "$HADOOP_HOME"/bin/hadoop --config $HADOOP_CONF_DIR $command
"$@" > "$log" 2>&1 < /dev/null &
     echo $! > $pid
     sleep 1; head "$log"



Mime
View raw message