neils-dev commented on code in PR #3429:
URL: https://github.com/apache/ozone/pull/3429#discussion_r882216954


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/NodeEndpoint.java:
##########
@@ -148,6 +148,7 @@ public Response getDatanodes() {
           .withBuildDate(nodeManager.getBuildDate(datanode))
           .withLayoutVersion(
               dnInfo.getLastKnownLayoutVersion().getMetadataLayoutVersion())
+          .withNetworkLocation(datanode.getNetworkLocation())
           .build());

Review Comment:
   Thanks @symious.  Is it useful to define an interface to get the network 
location from the nodeManager as well, such as defining 
`nodeManager.getNetworkLocation` that returns `inMemoryDatanodeDetails` for the 
networkLocation?



-- 
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]

Reply via email to