Browse Source

MAPREDUCE-4012 merged to branch-1.0

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.0@1334886 13f79535-47bb-0310-9956-ffa450edef68
Matthew Foley 13 years ago
parent
commit
8c805a6fdb
2 changed files with 5 additions and 1 deletions
  1. 3 0
      CHANGES.txt
  2. 2 1
      src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java

+ 3 - 0
CHANGES.txt

@@ -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

+ 2 - 1
src/mapred/org/apache/hadoop/mapred/LinuxTaskController.java

@@ -189,7 +189,8 @@ class LinuxTaskController extends TaskController {
     } 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);
     }
   }