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

Limit the size/number of labels for TaskInfo/ExecutorInfo.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • master

    Description

      Currently framework can set arbitrary labels in TaskInfo/ExecutorInfo. However, some faulty framework (due to potential bugs) may set a huge number of labels or make the label size huge. It could make mess up the master http endpoints (e.g., /master/state.json or /master/state-summary), which causes the master being stuck or super slow.

      We should make a configurable limit to the number/size of labels so that a problematic framework would not ruin the mesos cluster.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gilbert Gilbert Song
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: