LoggingResearch created YARN-11727: -------------------------------------- Summary: Expose Service Disabling Information for End-Users Key: YARN-11727 URL: https://issues.apache.org/jira/browse/YARN-11727 Project: Hadoop YARN Issue Type: Improvement Components: yarn Affects Versions: 3.3.6 Environment: Version: {{`3.3.6`}} Location: {{{}`hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/AggregatedLogDeletionService.java`{}}}, in {{`scheduleLogDeletionTasks`}} method, lines 258-280. Reporter: LoggingResearch Attachments: TestAggregatedLogDeletionService.java, original-vs-log-enhanced.md
The {{AggregatedLogDeletionService}} class in the Hadoop YARN framework is responsible for managing log aggregation and deletion. However, if the configuration parameter {{yarn.log-aggregation-enable}} is not set to {{{}true{}}}, the log aggregation service is disabled by default without any notification to the end-user. This can lead to confusion, especially for users who are unfamiliar with the configuration details but expect the service to be active. To improve user experience and avoid potential issues caused by unintentional misconfigurations, it is important to provide clear logging information when the service is disabled. *Expected Behavior:* When the {{yarn.log-aggregation-enable}} parameter is set to {{false}} (the default value), the system should log an informative message indicating that the log aggregation service is not enabled. This will help users recognize the issue and adjust the configuration accordingly. *How-to-Fix:* We propose to expose the information about the service status by adding logging statements. When the log aggregation service is not enabled due to the {{yarn.log-aggregation-enable}} parameter being set to {{{}false{}}}, a log message should be generated to inform the user. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org