HDFS-17217. Add lifeline RPC start up log when NameNode#startCommonServices (#6154). Contributed by Haiyang Hu.
Reviewed-by: Shilun Fan <slfan1989@apache.org> Reviewed-by: Tao Li <tomscut@apache.org> Signed-off-by: Shuyan Zhang <zhangshuyan@apache.org>
This commit is contained in:
parent
b00d605832
commit
85af6c3a28
@ -1010,10 +1010,12 @@ public class NameNode extends ReconfigurableBase implements
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user