hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1078665 - in /hadoop/mapreduce/trunk: CHANGES.txt src/test/mapred/org/apache/hadoop/mapred/ClusterWithLinuxTaskController.java
Date Mon, 07 Mar 2011 03:30:22 GMT
Author: todd
Date: Mon Mar  7 03:30:22 2011
New Revision: 1078665

URL: http://svn.apache.org/viewvc?rev=1078665&view=rev
Log:
MAPREDUCE-2241. ClusterWithLinuxTaskController should accept relative path on the command
line. Contributed by Todd Lipcon.

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/ClusterWithLinuxTaskController.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=1078665&r1=1078664&r2=1078665&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Mon Mar  7 03:30:22 2011
@@ -610,6 +610,9 @@ Release 0.22.0 - Unreleased
     MAPREDUCE-2272. Job ACL file should not be executable
     (Harsh J Chouraria via todd)
 
+    MAPREDUCE-2241. ClusterWithLinuxTaskController should accept relative path
+    on the command line. (todd)
+
 Release 0.21.1 - Unreleased
 
   NEW FEATURES

Modified: hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/ClusterWithLinuxTaskController.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/ClusterWithLinuxTaskController.java?rev=1078665&r1=1078664&r2=1078665&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/ClusterWithLinuxTaskController.java
(original)
+++ hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/ClusterWithLinuxTaskController.java
Mon Mar  7 03:30:22 2011
@@ -91,7 +91,7 @@ public class ClusterWithLinuxTaskControl
 
     @Override
     protected String getTaskControllerExecutablePath() {
-      return taskControllerExePath;
+      return new File(taskControllerExePath).getAbsolutePath();
     }
 
     void setTaskControllerExe(String execPath) {



Mime
View raw message