You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2009/10/08 20:24:45 UTC

svn commit: r823257 - /hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MapReduceLauncher.java

Author: daijy
Date: Thu Oct  8 18:24:44 2009
New Revision: 823257

URL: http://svn.apache.org/viewvc?rev=823257&view=rev
Log:
PIG-948: [Usability] Relating pig script with MR jobs - Part 2

Modified:
    hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MapReduceLauncher.java

Modified: hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MapReduceLauncher.java
URL: http://svn.apache.org/viewvc/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MapReduceLauncher.java?rev=823257&r1=823256&r2=823257&view=diff
==============================================================================
--- hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MapReduceLauncher.java (original)
+++ hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/MapReduceLauncher.java Thu Oct  8 18:24:44 2009
@@ -157,13 +157,11 @@
                 }
             }
             catch(Exception e){
-                
                 /* This is extra information Pig is providing to user.
-                   If some exception occurs here because of whatever reasons, job may still complete successfully.
-                   So, pig shouldn't die. So we just log the exception and move on. */
-                
-                log.error("Exception occured while trying to retrieve extra information about job in MapReduceLauncher."
-                            +e.getMessage());
+                   If exception occurs here, job may still complete successfully.
+                   So, pig shouldn't die or even give confusing message to the user. 
+                   So we just log information and move on. */
+                log.info("Cannot get jobid for this job");
             }
             
             while(!jc.allFinished()){