pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r904700 - in /hadoop/pig/trunk: CHANGES.txt src/org/apache/pig/backend/executionengine/ExecJob.java src/org/apache/pig/backend/hadoop/executionengine/HJob.java
Date Sat, 30 Jan 2010 00:54:43 GMT
Author: hashutosh
Date: Sat Jan 30 00:54:42 2010
New Revision: 904700

URL: http://svn.apache.org/viewvc?rev=904700&view=rev
Log:
PIG-977:  exit status does not account for JOB_STATUS.TERMINATED (ashutoshc)

Modified:
    hadoop/pig/trunk/CHANGES.txt
    hadoop/pig/trunk/src/org/apache/pig/backend/executionengine/ExecJob.java
    hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/HJob.java

Modified: hadoop/pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/pig/trunk/CHANGES.txt?rev=904700&r1=904699&r2=904700&view=diff
==============================================================================
--- hadoop/pig/trunk/CHANGES.txt (original)
+++ hadoop/pig/trunk/CHANGES.txt Sat Jan 30 00:54:42 2010
@@ -24,6 +24,8 @@
 
 IMPROVEMENTS
 
+PIG-977:  exit status does not account for JOB_STATUS.TERMINATED (ashutoshc)
+
 PIG-1192: Pig 0.6 Docs fixes (chandec via olgan)
 
 PIG-1177: Pig 0.6 Docs - Zebra docs (chandec via olgan)

Modified: hadoop/pig/trunk/src/org/apache/pig/backend/executionengine/ExecJob.java
URL: http://svn.apache.org/viewvc/hadoop/pig/trunk/src/org/apache/pig/backend/executionengine/ExecJob.java?rev=904700&r1=904699&r2=904700&view=diff
==============================================================================
--- hadoop/pig/trunk/src/org/apache/pig/backend/executionengine/ExecJob.java (original)
+++ hadoop/pig/trunk/src/org/apache/pig/backend/executionengine/ExecJob.java Sat Jan 30 00:54:42
2010
@@ -20,7 +20,6 @@
 
 import java.util.Iterator;
 import java.util.Properties;
-import java.util.Map;
 import java.io.OutputStream;
 
 import org.apache.pig.data.Tuple;
@@ -35,12 +34,8 @@
 public interface ExecJob {
 
     public enum JOB_STATUS {
-        QUEUED,
-        RUNNING,
-        SUSPENDED,
-        TERMINATED,
         FAILED,
-        COMPLETED,
+        COMPLETED
     }
 
     public static final String PROGRESS_KEY = "job.progress";
@@ -75,7 +70,7 @@
      * 
      * @return configuration information for the execution engine
      */    
-    public Properties getContiguration();
+    public Properties getConfiguration();
 
     /**
      * Can be information about the state (not submitted, e.g. the execute method

Modified: hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/HJob.java
URL: http://svn.apache.org/viewvc/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/HJob.java?rev=904700&r1=904699&r2=904700&view=diff
==============================================================================
--- hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/HJob.java (original)
+++ hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/HJob.java Sat Jan 30
00:54:42 2010
@@ -21,7 +21,6 @@
 import java.io.OutputStream;
 import java.io.InputStream;
 import java.util.Iterator;
-import java.util.Map;
 import java.util.Properties;
 
 import org.apache.commons.logging.Log;
@@ -138,7 +137,7 @@
         };
     }
 
-    public Properties getContiguration() {
+    public Properties getConfiguration() {
         Properties props = new Properties();
         return props;
     }



Mime
View raw message