priyeshkaratha commented on code in PR #9627:
URL: https://github.com/apache/ozone/pull/9627#discussion_r2706981201
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/ReconServer.java:
##########
@@ -104,9 +108,23 @@ public Void call() throws Exception {
ReconServer.class, originalArgs, LOG, configuration);
ConfigurationProvider.setConfiguration(configuration);
Review Comment:
The call to UserGroupInformation.getCurrentUser() can technically throw an
IOException if there are issues with the Kerberos ticket or OS-level user
retrieval.
So I am suggesting to ensure the ReconServer startup sequence gracefully
handles or logs a clear error message if the current user cannot be identified
--
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]