Skip to content

Commit

Permalink
HDFS-17217. Add lifeline RPC start up log when NameNode#startCommonSe…
Browse files Browse the repository at this point in the history
…rvices (#6154). Contributed by  Haiyang Hu.

Reviewed-by:  Shilun Fan <[email protected]>
Reviewed-by: Tao Li <[email protected]>
Signed-off-by: Shuyan Zhang <[email protected]>
  • Loading branch information
haiyang1987 authored Oct 10, 2023
1 parent b00d605 commit 85af6c3
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1010,10 +1010,12 @@ private void startCommonServices(Configuration conf) throws IOException {
LOG.warn("ServicePlugin " + p + " could not be started", t);
}
}
LOG.info(getRole() + " RPC up at: " + getNameNodeAddress());
LOG.info("{} RPC up at: {}.", getRole(), getNameNodeAddress());
if (rpcServer.getServiceRpcAddress() != null) {
LOG.info(getRole() + " service RPC up at: "
+ rpcServer.getServiceRpcAddress());
LOG.info("{} service RPC up at: {}.", getRole(), rpcServer.getServiceRpcAddress());
}
if (rpcServer.getLifelineRpcAddress() != null) {
LOG.info("{} lifeline RPC up at: {}.", getRole(), rpcServer.getLifelineRpcAddress());
}
}

Expand Down

0 comments on commit 85af6c3

Please sign in to comment.