[ 
https://issues.apache.org/jira/browse/MESOS-969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931842#comment-13931842
 ] 

Ashutosh Jain commented on MESOS-969:
-------------------------------------

The modification I made to main.cpp is only checking the memory so bmahler, 
what modification should be done to containerizer in 
https://github.com/apache/mesos/blob/master/src/slave/main.cpp#L152 to start a 
slave with the checked value of resources ?? 

> resource allocation (memory) beyond availability
> ------------------------------------------------
>
>                 Key: MESOS-969
>                 URL: https://issues.apache.org/jira/browse/MESOS-969
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.14.2, 0.18.0
>            Reporter: Ashutosh Jain
>            Assignee: Ashutosh Jain
>            Priority: Minor
>
> I am running my mesos 0.14.2 instance in virtual-box. I had allocated 1466 MB 
> of memory to it.
>  
> 1. I created the server at 127.0.1.1:5050.
> ./mesos-master.sh 
> 2. then I added the system itself as slave and allocated 2000 MB of memory 
> using 
> ./mesos-slave.sh --master=127.0.1.1:5050 --resources=mem:2000
> and the resources were happily allocated to it.
> (allocated memory was being shown in the GUI at 127.0.1.1:5050 in the browser)
> I even tried with 20000 of memory and still the same results .
> basically it not being checked whether the resources are even available or 
> not .



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to