hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077721 - /hadoop/common/branches/branch-0.20-security-patches/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
Date Fri, 04 Mar 2011 04:48:07 GMT
Author: omalley
Date: Fri Mar  4 04:48:07 2011
New Revision: 1077721

URL: http://svn.apache.org/viewvc?rev=1077721&view=rev
Log:
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.

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java?rev=1077721&r1=1077720&r2=1077721&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
Fri Mar  4 04:48:07 2011
@@ -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_);



Mime
View raw message