hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r549205 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/io/compress/zlib/ZlibFactory.java
Date Wed, 20 Jun 2007 19:31:12 GMT
Author: tomwhite
Date: Wed Jun 20 12:31:12 2007
New Revision: 549205

URL: http://svn.apache.org/viewvc?view=rev&rev=549205
Log:
HADOOP-1505.  Remove spurious stacktrace in ZlibFactory introduced in HADOOP-1093.  Contributed
by Michael Stack.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/io/compress/zlib/ZlibFactory.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=549205&r1=549204&r2=549205
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Wed Jun 20 12:31:12 2007
@@ -185,6 +185,9 @@
  57. HADOOP-1475.  Clear tasktracker's file cache before it
      re-initializes, to avoid confusion.  (omalley via cutting)
 
+ 58. HADOOP-1505.  Remove spurious stacktrace in ZlibFactory
+     introduced in HADOOP-1093.  (Michael Stack via tomwhite)
+
 
 Release 0.13.0 - 2007-06-08
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/compress/zlib/ZlibFactory.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/io/compress/zlib/ZlibFactory.java?view=diff&rev=549205&r1=549204&r2=549205
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/io/compress/zlib/ZlibFactory.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/io/compress/zlib/ZlibFactory.java Wed Jun
20 12:31:12 2007
@@ -77,11 +77,6 @@
    */
   public static Compressor getZlibCompressor() {
     LOG.info("Creating a new ZlibCompressor");
-    try {
-      throw new Exception();
-    } catch (Exception e) {
-      e.printStackTrace();
-    }
     return (nativeZlibLoaded) ? 
       new ZlibCompressor() : new BuiltInZlibDeflater(); 
   }
@@ -103,11 +98,6 @@
    */
   public static Decompressor getZlibDecompressor() {
     LOG.info("Creating a new ZlibDecompressor");
-    try {
-      throw new Exception();
-    } catch (Exception e) {
-      e.printStackTrace();
-    }
     return (nativeZlibLoaded) ? 
       new ZlibDecompressor() : new BuiltInZlibInflater(); 
   }



Mime
View raw message