dlmarion commented on code in PR #5662:
URL: https://github.com/apache/accumulo/pull/5662#discussion_r2175044405
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/ScanServer.java:
##########
@@ -343,7 +330,7 @@ private ServiceLock announceExistence() {
for (ThriftService svc : new ThriftService[] {ThriftService.CLIENT,
ThriftService.TABLET_SCAN}) {
descriptors.addService(new ServiceDescriptor(serverLockUUID, svc,
- getClientAddressString(), this.getResourceGroup()));
+ getAdvertiseAddress().toString(), this.getResourceGroup()));
Review Comment:
`announceExistence` has to occur after the the Thrift server is created and
the advertise address is set. This should not be null at this point in the run
method when this is called.
--
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]