You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ch...@apache.org on 2013/12/02 00:32:29 UTC

svn commit: r1546868 - /pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/PigProcessor.java

Author: cheolsoo
Date: Sun Dec  1 23:32:29 2013
New Revision: 1546868

URL: http://svn.apache.org/r1546868
Log:
Remove comments that are no longer applicable in PigProcessor

Modified:
    pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/PigProcessor.java

Modified: pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/PigProcessor.java
URL: http://svn.apache.org/viewvc/pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/PigProcessor.java?rev=1546868&r1=1546867&r2=1546868&view=diff
==============================================================================
--- pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/PigProcessor.java (original)
+++ pig/branches/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/PigProcessor.java Sun Dec  1 23:32:29 2013
@@ -160,7 +160,6 @@ public class PigProcessor implements Log
                 MROutput mrOut = (MROutput) logicalOutput;
                 fileOutputs.add(mrOut);
                 writers.put(name, mrOut.getWriter());
-                // Since we only have one output, we can cheat here
                 outputType = OUTPUT_TYPE.FILE;
             } else if (logicalOutput instanceof OnFileSortedOutput){
                 OnFileSortedOutput onFileOut = (OnFileSortedOutput) logicalOutput;
@@ -190,10 +189,6 @@ public class PigProcessor implements Log
                 continue;
 
             if(res.returnStatus==POStatus.STATUS_ERR){
-                // remember that we had an issue so that in
-                // close() we can do the right thing
-                //    errorInMap  = true;
-                // if there is an errmessage use it
                 String errMsg;
                 if(res.result != null) {
                     errMsg = "Received Error while " +