You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2015/07/09 18:10:04 UTC
[jira] [Comment Edited] (MESOS-1648) mesos-slave and mesos-master
should have a --pidfile option
[ https://issues.apache.org/jira/browse/MESOS-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591966#comment-14591966 ]
Greg Mann edited comment on MESOS-1648 at 7/9/15 4:09 PM:
----------------------------------------------------------
Excellent, thanks for the suggestions Ben. I removed the duplicate and updated descriptions.
was (Author: greggomann):
Excellent, thanks for the suggestions Ben. Splitting up the patches sounds good, I'll create issues for the locking/removal and post links here.
> 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
>
> Add a {{--pidfile}} option to the common logging flags. 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.
> Following implementation of this command line option, consider adding automatic removal of the file, as well as locking the file as a secondary signal that there is a live mesos-slave to new slaves attempting to start.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)