Looking for suggestions on MESOS-2724

2015-05-29 Thread Shuai Lin
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

Re: Looking for suggestions on MESOS-2724

2015-05-29 Thread Niklas Nielsen
(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 directl

Re: Looking for suggestions on MESOS-2724

2015-05-29 Thread Tim Chen
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 cust

Re: Looking for suggestions on MESOS-2724

2015-05-29 Thread Shuai Lin
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