hadoop-ozone-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [hadoop-ozone] 01/01: fix logging name of ChunkManagerDummyImpl
Date Thu, 14 Nov 2019 11:08:09 GMT
This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch HDDS-2461
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git

commit a1743ea48824e77bd8ef92286c05fd47a8b557d6
Author: Márton Elek <elek@apache.org>
AuthorDate: Thu Nov 14 12:06:24 2019 +0100

    fix logging name of ChunkManagerDummyImpl
---
 .../hadoop/ozone/container/keyvalue/impl/ChunkManagerDummyImpl.java  | 5 +++++
 .../hadoop/ozone/container/keyvalue/impl/ChunkManagerImpl.java       | 5 ++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/ChunkManagerDummyImpl.java
b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/ChunkManagerDummyImpl.java
index a79829c..2927c22 100644
--- a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/ChunkManagerDummyImpl.java
+++ b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/ChunkManagerDummyImpl.java
@@ -34,6 +34,8 @@ import java.io.IOException;
 import java.nio.ByteBuffer;
 
 import static org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos.Result.*;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Implementation of ChunkManager built for running performance tests.
@@ -41,6 +43,9 @@ import static org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos.Res
  */
 public class ChunkManagerDummyImpl extends ChunkManagerImpl {
 
+  private static final Logger LOG =
+      LoggerFactory.getLogger(ChunkManagerDummyImpl.class);
+
   public ChunkManagerDummyImpl(boolean sync) {
     super(sync);
   }
diff --git a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/ChunkManagerImpl.java
b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/ChunkManagerImpl.java
index e22841e..8a3575b 100644
--- a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/ChunkManagerImpl.java
+++ b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/ChunkManagerImpl.java
@@ -53,7 +53,10 @@ import static org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos.Res
  * This class is for performing chunk related operations.
  */
 public class ChunkManagerImpl implements ChunkManager {
-  static final Logger LOG = LoggerFactory.getLogger(ChunkManagerImpl.class);
+
+  private static final Logger LOG =
+      LoggerFactory.getLogger(ChunkManagerImpl.class);
+
   private final boolean doSyncWrite;
 
   public ChunkManagerImpl(boolean sync) {


---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org


Mime
View raw message