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

Master check failure if the metrics endpoint is polled soon after it starts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 1.0.2, 1.1.0
    • master
    • None

    Description

      We observed the following check failure

      F0822 22:27:10.364923 10489 owned.hpp:110] Check failed: 'get()' Must be non NULL
      

      called from mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess::_resources_total

      The code:

      double HierarchicalAllocatorProcess::_resources_total(
          const string& resource)
      {
        Option<Value::Scalar> total =
          roleSorter->totalScalarQuantities()
            .get<Value::Scalar>(resource);
      
        return total.isSome() ? total->value() : 0;
      }
      

      See github

      Attachments

        Activity

          People

            xujyan Yan Xu
            xujyan Yan Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: