Re: Looking for suggestions on MESOS-2724
I prefer a executorLaunched hook, if it can be triggered with enough details of the container as stated in this comment . About my timeframe: I myself doesn't require this feature in my work, so I have no specific time requirement on this. Shuai On Sat, May 30, 2015 at 1:06 AM, Niklas Nielsen wrote: > (Looping in Tim) > > It sounds like we have two options to support your use-case: > > 1) Introduce a executorLaunched hook > 2) Wait until DockerContainerizer supports isolators > > (1) Will probably be the quickest, but also a fairly unclean one - as the > slave doesn't have access to the executor pids directly. > (2) is probably the right way, but takes more effort. What is your current > timeframe? > > Niklas > > > On 29 May 2015 at 07:46, Shuai Lin wrote: > > > Hi all, > > > > I'm working on https://issues.apache.org/jira/browse/MESOS-2724 (Support > > running custom commands on slaves when launcing a docker container), and > > would like to get suggestions from you. > > > > Please check my latest comment here > > < > > > https://issues.apache.org/jira/browse/MESOS-2724?focusedCommentId=14564911&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14564911 > > > > > . > > > > Thanks! > > > > Best Regards, > > Shuai Lin > > >
Re: Looking for suggestions on MESOS-2724
Hi Shuai, Thanks for your interest in doing this! The DockerContainerizer *might* have support for Isolators but it's still in discussion mode how/what that will look like as it's largely depending on how the Docker engine evolves. Current state of the engine have very limited ability to add custom isolation logic. I'll leave more comments on the JIRA. Tim On Fri, May 29, 2015 at 10:06 AM, Niklas Nielsen wrote: > (Looping in Tim) > > It sounds like we have two options to support your use-case: > > 1) Introduce a executorLaunched hook > 2) Wait until DockerContainerizer supports isolators > > (1) Will probably be the quickest, but also a fairly unclean one - as the > slave doesn't have access to the executor pids directly. > (2) is probably the right way, but takes more effort. What is your current > timeframe? > > Niklas > > > On 29 May 2015 at 07:46, Shuai Lin wrote: > >> Hi all, >> >> I'm working on https://issues.apache.org/jira/browse/MESOS-2724 (Support >> running custom commands on slaves when launcing a docker container), and >> would like to get suggestions from you. >> >> Please check my latest comment here >> < >> https://issues.apache.org/jira/browse/MESOS-2724?focusedCommentId=14564911&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14564911 >> > >> . >> >> Thanks! >> >> Best Regards, >> Shuai Lin >> > >
Re: Looking for suggestions on MESOS-2724
(Looping in Tim) It sounds like we have two options to support your use-case: 1) Introduce a executorLaunched hook 2) Wait until DockerContainerizer supports isolators (1) Will probably be the quickest, but also a fairly unclean one - as the slave doesn't have access to the executor pids directly. (2) is probably the right way, but takes more effort. What is your current timeframe? Niklas On 29 May 2015 at 07:46, Shuai Lin wrote: > Hi all, > > I'm working on https://issues.apache.org/jira/browse/MESOS-2724 (Support > running custom commands on slaves when launcing a docker container), and > would like to get suggestions from you. > > Please check my latest comment here > < > https://issues.apache.org/jira/browse/MESOS-2724?focusedCommentId=14564911&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14564911 > > > . > > Thanks! > > Best Regards, > Shuai Lin >