hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1405614 - in /hadoop/common/branches/branch-1-win: CHANGES.branch-1-win.txt bin/hadoop-config.cmd bin/hdfs.cmd bin/mapred.cmd
Date Sun, 04 Nov 2012 19:07:18 GMT
Author: suresh
Date: Sun Nov  4 19:07:18 2012
New Revision: 1405614

URL: http://svn.apache.org/viewvc?rev=1405614&view=rev
Log:
HADOOP-8983. Minor fixes to windows batch scripts to accept alternate config directory location.
Contributed by Ramya Bharathi.

Modified:
    hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt
    hadoop/common/branches/branch-1-win/bin/hadoop-config.cmd
    hadoop/common/branches/branch-1-win/bin/hdfs.cmd
    hadoop/common/branches/branch-1-win/bin/mapred.cmd

Modified: hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt?rev=1405614&r1=1405613&r2=1405614&view=diff
==============================================================================
--- hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt (original)
+++ hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt Sun Nov  4 19:07:18 2012
@@ -202,3 +202,6 @@ Branch-hadoop-1-win - unreleased
     (Bikas Saha via suresh)
 
     HADOOP-8972. Move winutils tests from bat to Java. (Ivan Mitic via suresh)
+
+    HADOOP-8983. Minor fixes to windows batch scripts to accept alternate 
+    config directory location. (Ramya Bharathi Nimmagadda via suresh)

Modified: hadoop/common/branches/branch-1-win/bin/hadoop-config.cmd
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/bin/hadoop-config.cmd?rev=1405614&r1=1405613&r2=1405614&view=diff
==============================================================================
--- hadoop/common/branches/branch-1-win/bin/hadoop-config.cmd (original)
+++ hadoop/common/branches/branch-1-win/bin/hadoop-config.cmd Sun Nov  4 19:07:18 2012
@@ -55,7 +55,7 @@ if "%1" == "--config" (
 @rem masters file
 @rem
 
-if "%1" == "--host" (
+if "%1" == "--hosts" (
   set HADOOP_SLAVES=%HADOOP_CONF_DIR%\%2
   shift
   shift

Modified: hadoop/common/branches/branch-1-win/bin/hdfs.cmd
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/bin/hdfs.cmd?rev=1405614&r1=1405613&r2=1405614&view=diff
==============================================================================
--- hadoop/common/branches/branch-1-win/bin/hdfs.cmd (original)
+++ hadoop/common/branches/branch-1-win/bin/hdfs.cmd Sun Nov  4 19:07:18 2012
@@ -26,7 +26,7 @@ if "%HADOOP_BIN_PATH:~-1%" == "\" (
 
 set HADOOP_LOGFILE=hadoop-%1-%computername%.log
 set hdfs-config-script=%HADOOP_BIN_PATH%\hadoop-config.cmd
-call %hdfs-config-script%
+call %hdfs-config-script% %*
 
 :main
 

Modified: hadoop/common/branches/branch-1-win/bin/mapred.cmd
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/bin/mapred.cmd?rev=1405614&r1=1405613&r2=1405614&view=diff
==============================================================================
--- hadoop/common/branches/branch-1-win/bin/mapred.cmd (original)
+++ hadoop/common/branches/branch-1-win/bin/mapred.cmd Sun Nov  4 19:07:18 2012
@@ -25,7 +25,7 @@ if "%HADOOP_BIN_PATH:~-1%" == "\" (
 
 set HADOOP_LOGFILE=hadoop-%1-%computername%.log
 set mapred-config-script=%HADOOP_BIN_PATH%\hadoop-config.cmd
-call %mapred-config-script%
+call %mapred-config-script% %*
 
 :main
 



Mime
View raw message