luoyuan3471 opened a new pull request, #9013:
URL: https://github.com/apache/hadoop/pull/9013

   ## Problem
   - `FederationRMAdminInterceptor.getFederationSubClusters` uses `%s` in an 
SLF4J error message. When processing a subcluster fails, the message prints the 
literal placeholder instead of its ID.
   
   ## Solution
   - Replace `%s` with `{}` to include the subcluster ID. Preserve the 
exception argument, log wording, and control flow.
   
   ## Validation
   - Local JDK 17 and Maven Wrapper 3.9.15: 
`TestFederationRMAdminInterceptor#testGetFederationSubClusters` passed (1 test, 
0 failures, 0 errors, 0 skipped).
   - Whitespace check of the committed diff passed.
   - No new tests were added for this log-format-only change; error-log output 
was not directly asserted.
   - Contains content generated by Codex.
   
   ## Related Jira
   - [YARN-12064](https://issues.apache.org/jira/browse/YARN-12064)
   


-- 
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]

Reply via email to