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

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

Actually I am commenting the parsed.error() .
Just getting some error due to this line.
i have removed the mem check in slave/containerizer/containerizer.cpp and added 
it in main.cpp

modified slave/main.cpp is 
https://www.dropbox.com/s/6q4yl144yc6od4n/main.cpp

and modified slave/containerizer/containerizer.cpp is 
https://www.dropbox.com/s/cypaoc2ujc90xne/containerizer.cpp

just a little required and then will submit for review

> 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