yandrey321 commented on code in PR #9258:
URL: https://github.com/apache/ozone/pull/9258#discussion_r2852860717
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/types/UnhealthyContainerMetadata.java:
##########
@@ -61,15 +60,18 @@ public class UnhealthyContainerMetadata {
@XmlElement(name = "replicas")
private List<ContainerHistory> replicas;
- public UnhealthyContainerMetadata(UnhealthyContainers rec,
- List<ContainerHistory> replicas, UUID pipelineID, long keyCount) {
- this.containerID = rec.getContainerId();
- this.containerState = rec.getContainerState();
- this.unhealthySince = rec.getInStateSince();
- this.actualReplicaCount = rec.getActualReplicaCount();
- this.expectedReplicaCount = rec.getExpectedReplicaCount();
- this.replicaDeltaCount = rec.getReplicaDelta();
- this.reason = rec.getReason();
+ @SuppressWarnings("checkstyle:ParameterNumber")
+ public UnhealthyContainerMetadata(long containerID, String containerState,
Review Comment:
lombok?
--
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]