Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
getContainerReplicationHealth() in ReplicationManager does not set pendingOps and maintenanceRedundancy when building ContainerCheckRequest. This leads to errors such as:
scm_1 | java.lang.NullPointerException scm_1 | at java.base/java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1030) scm_1 | at java.base/java.util.Collections$UnmodifiableList.<init>(Collections.java:1303) scm_1 | at java.base/java.util.Collections.unmodifiableList(Collections.java:1290) scm_1 | at org.apache.hadoop.hdds.scm.container.replication.ContainerCheckRequest.<init>(ContainerCheckRequest.java:45) scm_1 | at org.apache.hadoop.hdds.scm.container.replication.ContainerCheckRequest.<init>(ContainerCheckRequest.java:31) scm_1 | at org.apache.hadoop.hdds.scm.container.replication.ContainerCheckRequest$Builder.build(ContainerCheckRequest.java:119) scm_1 | at org.apache.hadoop.hdds.scm.container.replication.ReplicationManager.getContainerReplicationHealth(ReplicationManager.java:923) scm_1 | at org.apache.hadoop.hdds.scm.container.balancer.MoveManager.move(MoveManager.java:253) ...
Attachments
Issue Links
- is required by
-
HDDS-8170 Let ContainerBalancer consider EC containers for balancing
- Resolved
- links to