You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by cu...@apache.org on 2005/09/14 21:05:08 UTC

svn commit: r280913 - /lucene/nutch/branches/mapred/src/java/org/apache/nutch/mapred/ReduceTaskRunner.java

Author: cutting
Date: Wed Sep 14 12:05:08 2005
New Revision: 280913

URL: http://svn.apache.org/viewcvs?rev=280913&view=rev
Log:
Log the stack trace, so we can debug this one better.

Modified:
    lucene/nutch/branches/mapred/src/java/org/apache/nutch/mapred/ReduceTaskRunner.java

Modified: lucene/nutch/branches/mapred/src/java/org/apache/nutch/mapred/ReduceTaskRunner.java
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/src/java/org/apache/nutch/mapred/ReduceTaskRunner.java?rev=280913&r1=280912&r2=280913&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/src/java/org/apache/nutch/mapred/ReduceTaskRunner.java (original)
+++ lucene/nutch/branches/mapred/src/java/org/apache/nutch/mapred/ReduceTaskRunner.java Wed Sep 14 12:05:08 2005
@@ -99,8 +99,9 @@
           copyPhase.startNextPhase();
           
         } catch (IOException e) {                 // failed: try again later
-          LOG.warning("copy failed: "+loc.getMapTaskId()+" from "+addr);
-          
+          LOG.log(Level.WARNING,
+                  "copy failed: "+loc.getMapTaskId()+" from "+addr,
+                  e);
         } finally {
           MapOutputFile.setProgressReporter(null);
         }