bshashikant commented on a change in pull request #2141:
URL: https://github.com/apache/ozone/pull/2141#discussion_r618343729
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
##########
@@ -1098,6 +1098,16 @@ public String getClientRpcPort() {
return addr == null ? "0" : Integer.toString(addr.getPort());
}
+ public String getBlockProtocolRpcPort() {
+ InetSocketAddress addr = getBlockProtocolServer().getBlockRpcAddress();
+ return addr == null ? "0" : Integer.toString(addr.getPort());
Review comment:
Following existing norm here followed for client port :
@Override
public String getClientRpcPort() {
InetSocketAddress addr = getClientRpcAddress();
return addr == null ? "0" : Integer.toString(addr.getPort());
}
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]