hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1334886 - in /hadoop/common/branches/branch-1.0: CHANGES.txt src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java
Date Mon, 07 May 2012 06:50:09 GMT
Author: mattf
Date: Mon May  7 06:50:08 2012
New Revision: 1334886

URL: http://svn.apache.org/viewvc?rev=1334886&view=rev
Log:
MAPREDUCE-4012 merged to branch-1.0

Modified:
    hadoop/common/branches/branch-1.0/CHANGES.txt
    hadoop/common/branches/branch-1.0/src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java

Modified: hadoop/common/branches/branch-1.0/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.0/CHANGES.txt?rev=1334886&r1=1334885&r2=1334886&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.0/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1.0/CHANGES.txt Mon May  7 06:50:08 2012
@@ -86,6 +86,9 @@ Release 1.0.3 - unreleased
     MAPREDUCE-4003. log.index (No such file or directory) AND Task process 
     exit with nonzero status of 126. (Koji Noguchi via tgraves)
 
+    MAPREDUCE-4012. Hadoop Job setup error leaves no useful info to users
+    (when LinuxTaskController is used) (tgraves)
+
 Release 1.0.2 - 2012.03.24
 
   NEW FEATURES

Modified: hadoop/common/branches/branch-1.0/src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.0/src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java?rev=1334886&r1=1334885&r2=1334886&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.0/src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java
(original)
+++ hadoop/common/branches/branch-1.0/src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java
Mon May  7 06:50:08 2012
@@ -189,7 +189,8 @@ class LinuxTaskController extends TaskCo
     } catch (ExitCodeException e) {
       int exitCode = shExec.getExitCode();
       logOutput(shExec.getOutput());
-      throw new IOException("Job initialization failed (" + exitCode + ")", e);
+      throw new IOException("Job initialization failed (" + exitCode + 
+          ") with output: " + shExec.getOutput(), e);
     }
   }
 



Mime
View raw message