New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks to continue running after swarm crash #2352

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
4 participants
@Spritekin

Spritekin commented Jun 15, 2016

By default, when a framework fails, Mesos will terminate any tasks started by a framework

The failovertimeout parameter allows the tasks to continue running for this number of seconds after the swarm manager dies. If not specified mesos will kill the tasks immediately (default behaviour). Mesos documentation recommends setting this value to 1 week time.

The frameworkid allows to specify a unique id. If Swarm manages to reconnect with the same task ID it had before the crash then mesos will reassigned the tasks to it. The ID must follow the mesos format for IDs (i.e. b2853a78-7cba-455a-99c7-d73bb5cbda95-0024). Refer to mesos for ID formats.

Signed-off-by: Guillermo Rodriguez [email protected]

Guillermo Rodriguez
Tasks to continue running after swarm crash
By default, when a framework fails, Mesos will terminate any tasks started by a framework

The failovertimeout parameter allows the tasks to continue running for this number of seconds after the swarm manager dies. If not specified mesos will kill the tasks immediately (default behaviour). Mesos documentation recommends setting this value to 1 week time.

The frameworkid allows to specify a unique id. If Swarm manages to reconnect with the same task ID it had before the crash then mesos will reassigned the tasks to it. The ID must follow the mesos format for IDs (i.e. b2853a78-7cba-455a-99c7-d73bb5cbda95-0024). Refer to mesos for ID formats.

Signed-off-by: Guillermo Rodriguez <[email protected]>
@Spritekin

This comment has been minimized.

Show comment
Hide comment
@Spritekin

Spritekin Jun 15, 2016

@ezrasilvera @jimenez
Not sure why this throws errors. I think they are not related to the change. Can you do something please?

Spritekin commented Jun 15, 2016

@ezrasilvera @jimenez
Not sure why this throws errors. I think they are not related to the change. Can you do something please?

@nishanttotla

This comment has been minimized.

Show comment
Hide comment
@nishanttotla

nishanttotla Jun 16, 2016

Contributor

@Spritekin the errors are unrelated.

Contributor

nishanttotla commented Jun 16, 2016

@Spritekin the errors are unrelated.

@nishanttotla

This comment has been minimized.

Show comment
Hide comment
@nishanttotla

nishanttotla May 30, 2018

Contributor

Closing due to #2853

Contributor

nishanttotla commented May 30, 2018

Closing due to #2853

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment