dlmarion commented on code in PR #5662:
URL: https://github.com/apache/accumulo/pull/5662#discussion_r2175051596
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java:
##########
@@ -901,7 +881,7 @@ public TabletServerStatus
getStats(Map<TableId,MapCounter<ScanRunState>> scanCou
result.lastContact = RelativeTime.currentTimeMillis();
result.tableMap = tables;
result.osLoad =
ManagementFactory.getOperatingSystemMXBean().getSystemLoadAverage();
- result.name = getClientAddressString();
+ result.name = getAdvertiseAddress().toString();
Review Comment:
I don't think the advertise address can be null here. It's used for
registering the tablet server location in ZooKeeper, and client's won't be able
to call this until the registration is done.
--
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]