You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2016/08/23 21:28:21 UTC
[jira] [Updated] (MESOS-6074) Master check failure if the metrics
endpoint is polled soon after it starts
[ https://issues.apache.org/jira/browse/MESOS-6074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yan Xu updated MESOS-6074:
--------------------------
Description:
We observed the following check failure
{noformat:title=}
F0822 22:27:10.364923 10489 owned.hpp:110] Check failed: 'get()' Must be non NULL
{noformat}
called from {{mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess::_resources_total}}
The code:
{code}
double HierarchicalAllocatorProcess::_resources_total(
const string& resource)
{
Option<Value::Scalar> total =
roleSorter->totalScalarQuantities()
.get<Value::Scalar>(resource);
return total.isSome() ? total->value() : 0;
}
{code}
See [github|https://github.com/apache/mesos/blob/dcc8bd7d2a942889fe473c21ab64e863d0e6a13f/src/master/allocator/mesos/hierarchical.cpp#L1804]
was:
We observed the following check failure
{noformat:title=}
F0822 22:27:10.364923 10489 owned.hpp:110] Check failed: 'get()' Must be non NULL
{noformat}
called from {{mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess::_re
sources_total}}
The code:
{code}
double HierarchicalAllocatorProcess::_resources_total(
const string& resource)
{
Option<Value::Scalar> total =
roleSorter->totalScalarQuantities()
.get<Value::Scalar>(resource);
return total.isSome() ? total->value() : 0;
}
{code}
See [github|https://github.com/apache/mesos/blob/dcc8bd7d2a942889fe473c21ab64e863d0e6a13f/src/master/allocator/mesos/hierarchical.cpp#L1804]
> Master check failure if the metrics endpoint is polled soon after it starts
> ---------------------------------------------------------------------------
>
> Key: MESOS-6074
> URL: https://issues.apache.org/jira/browse/MESOS-6074
> Project: Mesos
> Issue Type: Bug
> Components: master
> Affects Versions: 1.0.0
> Reporter: Yan Xu
> Priority: Critical
>
> We observed the following check failure
> {noformat:title=}
> F0822 22:27:10.364923 10489 owned.hpp:110] Check failed: 'get()' Must be non NULL
> {noformat}
> called from {{mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess::_resources_total}}
> The code:
> {code}
> double HierarchicalAllocatorProcess::_resources_total(
> const string& resource)
> {
> Option<Value::Scalar> total =
> roleSorter->totalScalarQuantities()
> .get<Value::Scalar>(resource);
> return total.isSome() ? total->value() : 0;
> }
> {code}
> See [github|https://github.com/apache/mesos/blob/dcc8bd7d2a942889fe473c21ab64e863d0e6a13f/src/master/allocator/mesos/hierarchical.cpp#L1804]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)