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

Clean local directories when a container is killed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.7.0
    • None
    • None
    • None

    Description

      In long running applications, it may happen that many containers are created and killed. A use case is Spark Thrift Server when dynamic allocation is enabled. A lot of containers are killed and the application keeps running indefinitely.

      Currently, YARN seems to remove the local directories only when the whole application terminates. In the scenario described above, this can cause serious resource leakages. Please, check https://issues.apache.org/jira/browse/SPARK-22575.

      I think YARN should clean up all the local directories of a container when it is killed and not when the whole application terminates.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mgaido Marco Gaido
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: