chiacyu opened a new pull request, #7867: URL: https://github.com/apache/ozone/pull/7867
## What changes were proposed in this pull request? This pr enhanced the content of `ServerNotLeaderException` by add `hostname` into the content (in example: 172.16.102.166). Please take a look. ## What is the link to the Apache JIRA [HDDS-12204](https://issues.apache.org/jira/browse/HDDS-12204) ## How was this patch tested? Deploy and check the error output. ```shell 2025-02-13 13:30:29,329 [IPC Server listener on 9860] INFO ipc.Server: IPC Server listener on 9860: starting 2025-02-13 13:30:29,338 [main] INFO server.StorageContainerManager: ScmBlockLocationProtocol RPC server is listening at /0.0.0.0:9863 2025-02-13 13:30:29,338 [main] ERROR server.StorageContainerManagerStarter: SCM start failed with exception org.apache.hadoop.hdds.ratis.ServerNotLeaderException: Server:f9732a56-9253-4537-ad92-51af5875dc2e(172.16.102.166) is not the leader. Could not determine the leader node. ``` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
