mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Rukletsov <a...@mesosphere.com>
Subject Re: Slave exit codes (MESOS-2599)
Date Fri, 10 Apr 2015 11:18:06 GMT
I like the idea. Do you have a list (or want to come up with one) of what
conditions do you want to intercept?

On Fri, Apr 10, 2015 at 1:54 AM, Paul Brett <pbrett@twopensource.com> wrote:

> Currently, whenever an error occurs we have the slave exit with a return
> code of 1.  I propose to allocate separate return codes to each exit
> condition to help external scripts differentiate between failures.  It is
> possible that this will break external tools if they test for a return code
> of 1 rather than the more usual test for not equal to zero.
>
> Thoughts?
>
> -- Paul Brett
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message