hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tgra...@apache.org
Subject svn commit: r1308988 - in /hadoop/common/branches/branch-1: CHANGES.txt src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java
Date Tue, 03 Apr 2012 15:43:44 GMT
Author: tgraves
Date: Tue Apr  3 15:43:44 2012
New Revision: 1308988

URL: http://svn.apache.org/viewvc?rev=1308988&view=rev
Log:
MAPREDUCE-4012 Hadoop Job setup error leaves no useful info to users. (tgraves)

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

Modified: hadoop/common/branches/branch-1/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/CHANGES.txt?rev=1308988&r1=1308987&r2=1308988&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1/CHANGES.txt Tue Apr  3 15:43:44 2012
@@ -196,6 +196,9 @@ Release 1.1.0 - unreleased
     MAPREDUCE-4095. TestJobInProgress#testLocality uses a bogus topology.
     (Colin Patrick McCabe via eli)
 
+    MAPREDUCE-4012. Hadoop Job setup error leaves no useful info to users 
+    (when LinuxTaskController is used) (tgraves)
+
 Release 1.0.3 - unreleased
 
   NEW FEATURES

Modified: hadoop/common/branches/branch-1/src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java?rev=1308988&r1=1308987&r2=1308988&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java
(original)
+++ hadoop/common/branches/branch-1/src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java
Tue Apr  3 15:43:44 2012
@@ -190,7 +190,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