adoroszlai commented on code in PR #8990:
URL: https://github.com/apache/ozone/pull/8990#discussion_r2591874148


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/states/ContainerEntry.java:
##########
@@ -31,8 +31,8 @@
  */
 public class ContainerEntry {
   private final ContainerInfo info;
-  private final Map<DatanodeID, ContainerReplica> replicas = new HashMap<>();
-
+  private Map<ContainerReplica, ContainerReplica> replicaMap = 
Collections.emptyMap();
+  private Set<ContainerReplica> replicas = Collections.emptySet();
   ContainerEntry(ContainerInfo info) {

Review Comment:
   Please make sure to check [CI 
run](https://github.com/cchung100m/ozone/actions/runs/19934514493) in fork.  
Checkstyle is 
[failing](https://github.com/cchung100m/ozone/actions/runs/19934514493/job/57155484251#step:16:17)
 with:
   
   ```
   
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/states/ContainerEntry.java
    36: 'CTOR_DEF' should be separated from previous 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