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

Niklas Quarfot Nielsen commented on MESOS-824:
----------------------------------------------

Something along the lines of: https://gist.github.com/nqn/7565555 ?
I have a patch which can traverse config flags and expose them in the 
state.json. We could place them in another endpoint too if it makes more sense.

If it is sufficient to expose the checkpoint flag alone, flag value iteration 
might be a bit overkill.

> export running config via http+json 
> ------------------------------------
>
>                 Key: MESOS-824
>                 URL: https://issues.apache.org/jira/browse/MESOS-824
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: David Robinson
>            Priority: Minor
>
> Currently there's no way of knowing whether a slave is actually checkpointing 
> (except for grepping through logs, which isn't ideal). The --checkpoint flag 
> on the command line can't be used to detect this since checkpointing could be 
> enabled on the slave but not in the framework. Because of this we cannot 
> detect whether slave recovery is actually enabled and therefore can't tell 
> whether it's safe to restart a slave.
> Please export the running config, preferably via a json endpoint.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to