Author: kamrul
Date: Thu Oct  6 20:37:53 2011
New Revision: 1179838

URL: http://svn.apache.org/viewvc?rev=1179838&view=rev
Log:
OOZIE-568 distcp action return error code -1. (Params via Mohammad)

Modified:
    
incubator/oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java
    incubator/oozie/trunk/release-log.txt

Modified: 
incubator/oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java
URL: 
http://svn.apache.org/viewvc/incubator/oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java?rev=1179838&r1=1179837&r2=1179838&view=diff
==============================================================================
--- 
incubator/oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java
 (original)
+++ 
incubator/oozie/trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java
 Thu Oct  6 20:37:53 2011
@@ -867,6 +867,9 @@ public class JavaActionExecutor extends 
                             if (errorCode.equals("0")) {
                                 errorCode = "JA018";
                             }
+                            if (errorCode.equals("-1")) {
+                                errorCode = "JA019";
+                            }
                             errorReason = props.getProperty("error.reason");
                             log.warn("Launcher ERROR, reason: {0}", 
errorReason);
                             String exMsg = 
props.getProperty("exception.message");

Modified: incubator/oozie/trunk/release-log.txt
URL: 
http://svn.apache.org/viewvc/incubator/oozie/trunk/release-log.txt?rev=1179838&r1=1179837&r2=1179838&view=diff
==============================================================================
--- incubator/oozie/trunk/release-log.txt (original)
+++ incubator/oozie/trunk/release-log.txt Thu Oct  6 20:37:53 2011
@@ -1,4 +1,5 @@
 -- Oozie 3.1.1 release
+OOZIE-568 distcp action return error code -1
 OOZIE-573 error message about misconfig in starting time of coordinator and 
initial-instance of dataset
 OOZIE-571 Oozie validate command doesnt work for schema 0.2
 OOZIE-570 Oozie bundle is running but not materializing new actions


Reply via email to