Browse Source

HADOOP-786. Log common exception at debug level. Contributed by Sanjay.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@486302 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 18 years ago
parent
commit
3d5aa681c3
2 changed files with 4 additions and 1 deletions
  1. 3 0
      CHANGES.txt
  2. 1 1
      src/java/org/apache/hadoop/mapred/PhasedFileSystem.java

+ 3 - 0
CHANGES.txt

@@ -48,6 +48,9 @@ Trunk (unreleased changes)
 13. HADOOP-818. Fix contrib unit tests to not depend on core unit
     tests.  (omalley via cutting)
 
+14. HADOOP-786. Log common exception at debug level.
+    (Sanjay Dahiya via cutting)
+
 
 Release 0.9.1 - 2006-12-06
 

+ 1 - 1
src/java/org/apache/hadoop/mapred/PhasedFileSystem.java

@@ -163,7 +163,7 @@ public class PhasedFileSystem extends FileSystem {
       fInfo.getOpenFileStream().close();
     }catch(IOException ioe){
       // ignore if already closed
-      ioe.printStackTrace();
+      LOG.debug("Ignoring exception : " + ioe.getMessage());
     }
     Path tempPath = fInfo.getTempPath(); 
     // ignore .crc files