[
https://issues.apache.org/jira/browse/MESOS-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657602#comment-13657602
]
Vinod Kone commented on MESOS-464:
----------------------------------
So the issue here is that mesos calculates the slave memory as "1 MB", which is
not enough for test-framework's tasks (each task needs 32 MB).
It is highly likely due to a bug in mesos 0.10.0
(https://issues.apache.org/jira/browse/MESOS-318) which incorrectly calculates
memory in 32 bit systems.
This bug has since been fixed on the master. So, there are 2 options here
1) Use the latest mesos ('master branch') -- (caveat: not guaranteed to be
stable)
2) Use mesos 0.10.0 as you are doing now, but start slave with "--resources"
flag (e.g., "--resources=cpus:4;mem:21962;ports:[31000-32000]")
NOTE: Units of "mem" are in MB.
> mesos 0.10.0 fails to build on ubutu 13.04
> --------------------------------------------
>
> Key: MESOS-464
> URL: https://issues.apache.org/jira/browse/MESOS-464
> Project: Mesos
> Issue Type: Bug
> Components: general
> Affects Versions: 0.10.0
> Environment: Ubuntu 13.04 32 bits, Ubuntu 12.04 LTS 32 bits
> Reporter: Benabbas Aboubakr El Hacen
> Labels: newbie
> Fix For: 0.13.0
>
>
> I try to build mesos 0.10.0 on my machine by following the instructions on
> the README file, but when i run make I get the following :
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> In file included from
> ../third_party/boost-1.37.0/boost/uuid/random_generator.hpp:12:0,
> from
> ../third_party/boost-1.37.0/boost/uuid/uuid_generators.hpp:17,
> from ../../third_party/libprocess/include/stout/uuid.hpp:11,
> from ../../src/master/master.cpp:31:
> ../third_party/boost-1.37.0/boost/uuid/seed_rng.hpp: In member function 'void
> boost::uuids::detail::seed_rng::sha1_random_digest_()':
> ../third_party/boost-1.37.0/boost/uuid/seed_rng.hpp:153:53: warning: ignoring
> return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with
> attribute warn_unused_result [-Wunused-result]
> make[2]: *** [master/libmesos_no_third_party_la-master.lo] Error 1
> make[2]: Leaving directory `/home/aboubakr/Development/mesos-0.10.0/build/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/aboubakr/Development/mesos-0.10.0/build/src'
> make: *** [all-recursive] Error 1
> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> I tried to find a solution to that by reading the other issues posted before,
> but i could not understand them, besides they were for older version(12.04),
> I would be grateful if you tell me in details the steps needed to build mesos
> on my machine
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira