瀏覽代碼

HADOOP-11877. SnappyDecompressor's Logger class name is wrong ( Contributed by surendra singh lilhore)

Vinayakumar B 10 年之前
父節點
當前提交
1ffb7fa42e

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -626,6 +626,9 @@ Release 2.8.0 - UNRELEASED
     HADOOP-11922. Misspelling of threshold in log4j.properties for tests
     HADOOP-11922. Misspelling of threshold in log4j.properties for tests
     in hadoop-tools (Gabor Liptak via vinayakumarb)
     in hadoop-tools (Gabor Liptak via vinayakumarb)
 
 
+    HADOOP-11877. SnappyDecompressor's Logger class name is wrong
+    (surendra singh lilhore via vinayakumarb)
+
 Release 2.7.1 - UNRELEASED
 Release 2.7.1 - UNRELEASED
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/snappy/SnappyDecompressor.java

@@ -34,7 +34,7 @@ import org.apache.hadoop.util.NativeCodeLoader;
  */
  */
 public class SnappyDecompressor implements Decompressor {
 public class SnappyDecompressor implements Decompressor {
   private static final Log LOG =
   private static final Log LOG =
-      LogFactory.getLog(SnappyCompressor.class.getName());
+      LogFactory.getLog(SnappyDecompressor.class.getName());
   private static final int DEFAULT_DIRECT_BUFFER_SIZE = 64 * 1024;
   private static final int DEFAULT_DIRECT_BUFFER_SIZE = 64 * 1024;
 
 
   private int directBufferSize;
   private int directBufferSize;