Yuan Luo created YARN-12064:
-------------------------------
Summary: Fix the subcluster ID placeholder in Router error logs
Key: YARN-12064
URL: https://issues.apache.org/jira/browse/YARN-12064
Project: Hadoop YARN
Issue Type: Bug
Components: router
Reporter: Yuan Luo
h2. 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.
h2. Solution
* Use the SLF4J placeholder to include the subcluster ID. Preserve the
exception argument, log wording, and control flow.
h2. 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.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]