[
https://issues.apache.org/jira/browse/MESOS-7197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15894752#comment-15894752
]
Neil Conway commented on MESOS-7197:
------------------------------------
I haven't been able to repro this so far. I've tried:
* OSX with clang, unoptimized clang build ("Apple LLVM version 8.0.0
(clang-800.0.42.1)")
* Arch Linux with gcc, unoptimized gcc build ("gcc (GCC) 6.3.1 20170109")
* Arch Linux with clang 3.9, optimized build ("clang version 3.9.1
(tags/RELEASE_391/final)")
* CentOS 7.3.1611 with gcc, optimized build ("gcc (GCC) 4.8.5 20150623 (Red Hat
4.8.5-11)")
[~bbannier], would you mind double-checking whether you can repro the bug with
clang 3.9?
> Requesting tiny amount of CPU crashes master
> --------------------------------------------
>
> Key: MESOS-7197
> URL: https://issues.apache.org/jira/browse/MESOS-7197
> Project: Mesos
> Issue Type: Bug
> Components: allocation
> Affects Versions: 1.1.0, 1.2.0
> Environment: Ubuntu 14.04, using Mesosphere PPA to install Mesos
> Reporter: Bruce Merry
> Assignee: Neil Conway
> Priority: Critical
>
> 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:
> {noformat}
> F0302 10:48:26.654909 15391 sorter.cpp:291] Check failed:
> allocations[name].resources[slaveId].contains(resources)
> {noformat}
> I can reproduce this with the following command:
> {noformat}
> mesos-execute --command='sleep 5' --master=$MASTER --name=crashtest
> --resources='cpus:0.0004;mem:128'
> {noformat}
> If I replace 0.0004 with 0.001 the issue no longer occurs.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)