From 111b08a330cd463f377375f12413cee3673d4d51 Mon Sep 17 00:00:00 2001 From: Siyao Meng Date: Wed, 18 Sep 2019 17:00:26 +0200 Subject: [PATCH] HDDS-2143. Rename classes under package org.apache.hadoop.utils Closes #1465 --- .../org/apache/hadoop/ozone/om/OMNodeDetails.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 d399ca9e560..fc8c818b1b5 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 @@ public final class OMNodeDetails { 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. */