You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Vinod Kone (JIRA)" <ji...@apache.org> on 2016/03/11 23:00:04 UTC

[jira] [Commented] (MESOS-4090) Create a light-weight, executor only mesos egg

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

Vinod Kone commented on MESOS-4090:
-----------------------------------

Committed the change. Thanks [~SteveNiemitz] ! I'm keeping the ticket open for the CHANGELOG update that I requested and the email to the dev/user lists. Can you please send that?

commit c81a52ec22266e1f2beb61b224c0f0d9be82521f
Author: Steve Niemitz <sn...@twitter.com>
Date:   Fri Mar 11 16:56:13 2016 -0500

    New python lib with only the executor driver.
    
    This patch produces a new python egg, mesos.executor, which contains only the
    code needed to create a MesosExecutorDriver.  By doing so, the linker can remove
    unused code in libmesos_no_3rdparty.a, and therefor not include any external
    dependencies in the resulting _mesos.so.
    
    Review: https://reviews.apache.org/r/41049/


> Create a light-weight, executor only mesos egg
> ----------------------------------------------
>
>                 Key: MESOS-4090
>                 URL: https://issues.apache.org/jira/browse/MESOS-4090
>             Project: Mesos
>          Issue Type: Improvement
>          Components: build
>            Reporter: Steve Niemitz
>            Assignee: Steve Niemitz
>
> Currently, when running tasks in docker containers, if the executor uses the mesos.native python library, the execution environment inside the container (OS, native libs, etc) must match the execution environment outside the container fairly closely in order to load the mesos.so library.
> The solution here can be to introduce a much lighter weight python egg, mesos.executor, which only includes code (and dependencies) needed to create and run an MesosExecutorDriver.  Executors can then use this native library instead of mesos.native.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)