Author: cutting
Date: Tue Sep  6 12:09:29 2005
New Revision: 279069

URL: http://svn.apache.org/viewcvs?rev=279069&view=rev
Log:
More informative error message.

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

Modified: 
lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/NDFSClient.java
URL: 
http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/NDFSClient.java?rev=279069&r1=279068&r2=279069&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/NDFSClient.java 
(original)
+++ lucene/nutch/branches/mapred/src/java/org/apache/nutch/ndfs/NDFSClient.java 
Tue Sep  6 12:09:29 2005
@@ -376,7 +376,7 @@
                     this.partnerStream = out;
                 } catch (IOException ex) {
                     // Put chosen node into dead list, continue
-                    LOG.info("Could not connect to " + target);
+                    LOG.info("Failed to connect to " + targetAddr + ":" + ex);
                     deadNodes.add(chosenNode);
                     if (s != null) {
                         try {


Reply via email to