Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-149

Garbage collection on slaves

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • agent
    • None

    Description

      Currently, there is no garbage collection of completed executors/frameworks on slaves, leading to local directories periodically filling up.

      Design proposal:

      • A libprocess process that gets messages when an executor has gotten cleaned up and sets some timeout when it should clean up the directory. Abstracting it this way is nice because we could add other capabilities like copying the directory output to HDFS if requested by the user.
      • Making sure directories continue to get cleaned up after a slave restarts
      • Make sure frameworks use their executor's working directory for storage rather than a hard-configured path (e.g. /tmp)

      Attachments

        Activity

          People

            vinodkone Vinod Kone
            twm378 Thomas Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 720h
                720h
                Remaining:
                Remaining Estimate - 720h
                720h
                Logged:
                Time Spent - Not Specified
                Not Specified