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

trigger deletion of log-dir by size for NonAggregatingLogHandler

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      In our yarn cluster, the log files of some containers are too large, which causes the NodeManager to frequently switch to the unhealthy state. For logs that are too large, we can consider deleting them directly without delaying yarn.nodemanager.log.retain-seconds.

      Cluster environment:

      1. 8k nodes+
      2. 50w+ apps  / day

      Configuration:

      1. yarn.nodemanager.log.retain-seconds=3days
      2. yarn.log-aggregation-enable=false

       

       

      Attachments

        Activity

          People

            15217812508@163.com Xianming Lei
            15217812508@163.com Xianming Lei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: