diff --git a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMNodeDetails.java b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMNodeDetails.java index d399ca9e56..fc8c818b1b 100644 --- a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMNodeDetails.java +++ b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMNodeDetails.java @@ -54,6 +54,19 @@ private OMNodeDetails(String serviceId, String nodeId, this.httpsAddress = httpsAddress; } + @Override + public String toString() { + return "OMNodeDetails[" + + "omServiceId=" + omServiceId + + ", omNodeId=" + omNodeId + + ", rpcAddress=" + rpcAddress + + ", rpcPort=" + rpcPort + + ", ratisPort=" + ratisPort + + ", httpAddress=" + httpAddress + + ", httpsAddress=" + httpsAddress + + "]"; + } + /** * Builder class for OMNodeDetails. */