Tejaskriya commented on code in PR #5929:
URL: https://github.com/apache/ozone/pull/5929#discussion_r1463011075
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java:
##########
@@ -588,6 +589,16 @@ public void deleteContainer(long containerID) throws
IOException {
}
}
+ @Override
+ public Map<String, List<ContainerID>>
getContainersOnDecomNode(DatanodeDetails dn) throws IOException {
+ try {
+ return scm.getScmDecommissionManager().getContainersReplicatedOnNode(
+ new DatanodeAdminMonitorImpl.TrackedNode(dn, 0L));
Review Comment:
I have changed it now to use DatanodeDetails instead. Only inside
DatanodeAdminMonitor it uses TrackedNode to find the required node
--
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]