Browse Source

commit 96c417c6a676db8e97eafb4c71221f75e4d2f4fe
Author: Arun C Murthy <acmurthy@apache.org>
Date: Mon Sep 20 20:12:29 2010 -0700

Fixed streaming to print the job error information to console.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077721 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 14 years ago
parent
commit
5afa5ca9d3

+ 1 - 1
src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java

@@ -897,7 +897,7 @@ public class StreamJob implements Tool {
       }
       if (!running_.isSuccessful()) {
         jobInfo();
-	LOG.error("Job not Successful!");
+	LOG.error("Job not successful. Error: " + running_.getFailureInfo());
 	return 1;
       }
       LOG.info("Job complete: " + jobId_);