Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-11727

Expose Service Disabling Information for End-Users

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.6
    • None
    • yarn
    • None

    Description

      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.

      Attachments

        1. TestAggregatedLogDeletionService.java
          6 kB
          LoggingResearch
        2. original-vs-log-enhanced.md
          3 kB
          LoggingResearch

        Activity

          People

            Unassigned Unassigned
            loggingresearch LoggingResearch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: