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

Requesting tiny amount of CPU crashes master.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.1.0, 1.2.0
    • 1.1.2, 1.2.1, 1.3.0
    • allocation
    • None
    • Ubuntu 14.04, using Mesosphere PPA to install Mesos

    • Mesosphere Sprint 52, Mesosphere Sprint 53
    • 3

    Description

      If a task is submitted with a tiny CPU request e.g. 0.0004, then when it completes the master crashes due to a CHECK failure:

      F0302 10:48:26.654909 15391 sorter.cpp:291] Check failed: allocations[name].resources[slaveId].contains(resources) 
      

      I can reproduce this with the following command:

      mesos-execute --command='sleep 5' --master=$MASTER --name=crashtest --resources='cpus:0.0004;mem:128'
      

      If I replace 0.0004 with 0.001 the issue no longer occurs.

      Attachments

        Issue Links

          Activity

            People

              neilc Neil Conway
              bmerry Bruce Merry
              Joris Van Remoortere Joris Van Remoortere
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: