[
https://issues.apache.org/jira/browse/MESOS-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14589058#comment-14589058
]
Greg Mann commented on MESOS-1648:
----------------------------------
After a bit of digging, my plan of action is the following:
-Create a new test that launches a Master & Slave with --pidfile set, checking
for appropriate PID files after launch, and checking that they are removed
after shutdown
-Add --pidfile flags to master/slave
-Add code in Master/Slave::initialize() and Master/Slave::finalize() to create
and remove the PID file. It looks like os::write() and os::rm() would be
suitable to accomplish this.
If all this looks appropriate, I'll get started.
> mesos-slave and mesos-master should have a --pidfile option
> -----------------------------------------------------------
>
> Key: MESOS-1648
> URL: https://issues.apache.org/jira/browse/MESOS-1648
> Project: Mesos
> Issue Type: Improvement
> Components: master, slave
> Reporter: Tobias Weingartner
> Assignee: Greg Mann
> Labels: newbie, twitter
>
> Right now we use a number of wrapper scripts to try and keep up a
> {{/var/run/mesos/mesos-slave.pid}} in order to be able to monitor the
> process. It would be nice if this extra (somewhat fragile) wrapper was not
> necessary. Having a {{--pidfile}} option would eliminate some of this pain.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)