chaoyli commented on a change in pull request #607: Optimize something
URL: https://github.com/apache/incubator-doris/pull/607#discussion_r252536362
##########
File path: fe/src/main/java/org/apache/doris/common/proc/FrontendsProcNode.java
##########
@@ -80,6 +89,17 @@ public static void getFrontendsInfo(Catalog catalog,
List<List<String>> infos) {
List<String> info = new ArrayList<String>();
info.add(fe.getNodeName());
info.add(fe.getHost());
+
+ String hostName = "N/A";
+ try {
+ InetAddress address = InetAddress.getByName(fe.getHost());
+ hostName = address.getHostName();
Review comment:
We has unified address entrance.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]