You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "zhongxingzhi (JIRA)" <ji...@apache.org> on 2013/10/29 08:05:30 UTC
[jira] [Commented] (MESOS-784) slave should allocate all the rest
resources even given a resources flag
[ https://issues.apache.org/jira/browse/MESOS-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13807735#comment-13807735 ]
zhongxingzhi commented on MESOS-784:
------------------------------------
i have fixed it, how can i push the pacth?
> slave should allocate all the rest resources even given a resources flag
> ------------------------------------------------------------------------
>
> Key: MESOS-784
> URL: https://issues.apache.org/jira/browse/MESOS-784
> Project: Mesos
> Issue Type: Bug
> Components: slave
> Affects Versions: 0.16.0
> Environment: rh 6.3
> Reporter: zhongxingzhi
> Labels: patch
> Fix For: 0.16.0
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> I use two computers for testing.
> pc1: cpu:6, mem:8G, disk:20G.
> pc2: cpu:8, mem:10G, disk:30G.
> first, start the master,
> mesos-master --roles="role1"
> and then start each slave with --resources flag like that:
> mesos-slave --resources = "mem(role1):1024";
> after slave connect to master, you would see each slave has only 1024M mem, the reset is invisible. Maybe add the rest mem to each --resources flag Manually will be a good idea (--resouces = "mem(role1):1024;mem(*):7000").
> A shell script will be used when you has many slaves with different mem, another problem appear:
> mesos-slave --resources = "mem(role1):10000000000000", it start with no error, but when the slave launch tasks, the slave crash.
--
This message was sent by Atlassian JIRA
(v6.1#6144)