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

Allow different values of yarn.log-aggregation.retain-seconds for succeeded and failed jobs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • log-aggregation
    • None

    Description

      It would be useful to have a value of yarn.log-aggregation.retain-seconds for succeeded jobs and a different value for failed/killed jobs. For jobs that succeeded, you typically don't care about the logs, so a shorter retention time is fine (and saves space/blocks in HDFS). For jobs that failed or were killed, the logs are much more important, and it's likely to want to keep them around for longer so you have time to look at them.

      For instance, you could set it to keep logs for succeeded jobs for 1 day and logs for failed/killed jobs for 1 week.

      Attachments

        1. YARN-6356.001.patch
          41 kB
          Adam Antal

        Activity

          People

            adam.antal Adam Antal
            rkanter Robert Kanter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: