ChenSammi commented on code in PR #5662:
URL: https://github.com/apache/ozone/pull/5662#discussion_r1452963266


##########
hadoop-ozone/client/src/test/java/org/apache/hadoop/ozone/client/MockDatanodeStorage.java:
##########
@@ -30,17 +31,26 @@
 import java.util.List;
 import java.util.Map;
 
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
 /**
  * State represents persisted data of one specific datanode.
  */
 public class MockDatanodeStorage {
-
-  private final Map<DatanodeBlockID, BlockData> blocks = new HashedMap();
+  public static final Logger LOG =
+      LoggerFactory.getLogger(MockDatanodeStorage.class);
+  public static final String INCREMENTAL_CHUNK_LIST = "incremental";
+  public static final String FULL_CHUNK = "full";
+  public static final ContainerProtos.KeyValue FULL_CHUNK_KV =
+      ContainerProtos.KeyValue.newBuilder().setKey(FULL_CHUNK).build();
+
+  private final Map<BlockID, BlockData> blocks = new HashedMap();
   private final Map<Long, List<DatanodeBlockID>>
       containerBlocks = new HashedMap();
   private final Map<BlockID, String> fullBlockData = new HashMap<>();
 
-  private final Map<String, ChunkInfo> chunks = new HashMap<>();
+  //private final Map<String, ChunkInfo> chunks = new HashMap<>();

Review Comment:
   remove this line.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to