dlmarion opened a new issue, #5411: URL: https://github.com/apache/accumulo/issues/5411
During the upgrade process the HighlyAvailableServiceInvocationHandler blocks all incoming Thrift requests and raises a ThriftNotActiveServiceException (see below). https://github.com/apache/accumulo/blob/4cba6dee3e89960bbaac2f9c86eb34a3a0426779/server/base/src/main/java/org/apache/accumulo/server/rpc/HighlyAvailableServiceInvocationHandler.java#L51-L56 However, what I'm seeing in the log looks like the following (note the null message): ``` 2025-03-17T18:26:00,241 [thrift.ProcessFunction] ERROR: Internal error processing reportTabletStatus org.apache.accumulo.core.clientImpl.thrift.ThriftNotActiveServiceException: null at org.apache.accumulo.server.rpc.HighlyAvailableServiceInvocationHandler.invoke(HighlyAvailableServiceInvocationHandler.java:54) ~[accumulo-server-base-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at jdk.proxy2/jdk.proxy2.$Proxy33.reportTabletStatus(Unknown Source) ~[?:?] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.base/java.lang.reflect.Method.invoke(Method.java:569) ~[?:?] at org.apache.accumulo.core.trace.TraceUtil.lambda$wrapService$0(TraceUtil.java:203) ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at jdk.proxy2/jdk.proxy2.$Proxy37.reportTabletStatus(Unknown Source) ~[?:?] at org.apache.accumulo.core.manager.thrift.ManagerClientService$Processor$reportTabletStatus.getResult(ManagerClientService.java:2565) ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at org.apache.accumulo.core.manager.thrift.ManagerClientService$Processor$reportTabletStatus.getResult(ManagerClientService.java:2543) ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:40) ~[libthrift-0.17.0.jar:0.17.0] at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:40) ~[libthrift-0.17.0.jar:0.17.0] at org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:147) ~[libthrift-0.17.0.jar:0.17.0] at org.apache.accumulo.server.rpc.TimedProcessor.process(TimedProcessor.java:50) ~[accumulo-server-base-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:492) ~[libthrift-0.17.0.jar:0.17.0] ``` From what I can tell the logging is coming from the Thrift ProcessFunction class at: https://github.com/apache/thrift/blob/60655d2de79e973b89fab52af82f9628d4843b0f/lib/java/src/main/java/org/apache/thrift/ProcessFunction.java#L48-L49 `ex` being passed to `LOGGER` is ThriftNotActiveServiceException and the message is null because ThriftNotActiveServiceException is not passing a message using a TException constructor. I'm thinking that all of our Thrift generated Thrift exceptions have this issue. -- 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]
