[
https://issues.apache.org/jira/browse/MESOS-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660909#comment-13660909
]
Vinod Kone commented on MESOS-464:
----------------------------------
You can find the command executor at "src/launcher/executor.cpp"
If you just want to run an arbitrary shell command as a task, you don't have to
write an executor. In your framework, when you launch a task, just specify
CommandInfo instead of ExecutorInfo. Look at "include/mesos/mesos.proto" for
comments on how to use CommandInfo. Mesos will run your task under a command
executor.
The way you submit your job to your framework is outside the purview of mesos.
Again, I would look at other frameworks (spark, storm, chronos) built on top of
mesos for inspiration. Same goes with building your framework. You could look
at our Makefiles to see how we build the c++ test framework.
> 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