abstractdog opened a new pull request, #6965: URL: https://github.com/apache/hive/pull/6965
### What changes were proposed in this pull request? Moves the 8 per-task-attempt INFO messages in `LlapTaskSchedulerService` to DEBUG: 5 on its own logger and 3 on the `GuaranteedTasks` logger. - Arguments that are computed eagerly (`constructPendingTaskCountsLogMessage()`, `NodeInfo.toShortString()`) are now behind `isDebugEnabled()` guards. - The string concatenations on `GuaranteedTasks` use parameterized logging. - The aggregate, preemption, node-state, WM summary, warning and error messages stay at INFO. ### Why are the changes needed? These 8 lines are written for every task attempt. In the Tez AM they came to 32 % of log lines and 25 % of bytes: 308 MB in 24 minutes for one 162k-attempt TPC-DS SF10000 run. Five of them are written under the scheduler's write lock. Details and measurements are in HIVE-XXXXX. ### Does this PR introduce _any_ user-facing change? Yes, only in the Tez AM log. At the default INFO level the per-attempt scheduler lines are no longer written. Setting `org.apache.hadoop.hive.llap.tezplugins.LlapTaskSchedulerService` and/or `GuaranteedTasks` to DEBUG brings them back. ### How was this patch tested? `mvn test -pl llap-tez -Dtest=TestLlapTaskSchedulerService` passes. The change only touches log levels, so no new tests were added. -- 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]
