adoroszlai commented on code in PR #10468:
URL: https://github.com/apache/ozone/pull/10468#discussion_r3378535573
##########
hadoop-ozone/mini-cluster/src/main/java/org/apache/hadoop/ozone/UniformDatanodesFactory.java:
##########
@@ -123,8 +124,9 @@ public OzoneConfiguration apply(OzoneConfiguration conf)
throws IOException {
}
private void configureDatanodePorts(ConfigurationTarget conf) {
- conf.set(HDDS_DATANODE_HTTP_ADDRESS_KEY, anyHostWithFreePort());
- conf.set(HDDS_DATANODE_CLIENT_ADDRESS_KEY, anyHostWithFreePort());
Review Comment:
`anyHostWithFreePort` becomes unused (and probably shouldn't be used
anyway). Can you please delete it from `GenericTestUtils.PortAllocator`?
--
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]