Kevin Klues created MESOS-6204:

             Summary: Introduce a "runtime" directory owned by the 
containerizer for checkpointing container information.
                 Key: MESOS-6204
             Project: Mesos
          Issue Type: Task
            Reporter: Kevin Klues
            Assignee: Kevin Klues
             Fix For: 1.1.0

Currently the containerizer optionally checkpoints the container pid into the 
agent meta directory if requested by the agent. Moveing forward, we would like 
to have a containerizer-specific runtime directory where the containerizer will 
checkpoint any container state it would like to maintain independent of the 
agent container information that it checkpoints.

Currently, this will include the container pid as well as the container exit 
status. In conjunction with the changes to the launch helper introduced by 
MESOS-6088, the containerizer will now be able to better recover the container 
exit status if it happens to be offline at the time that a container finishes.

This includes being able to reap the exit status from a checkpointed location 
in addition to reading it directly from the container as it exits.

Originally we were planning on pushing some of this functionality down into the 
LinuxLauncher, but in the end we decided it made more sense to keep all 
checkpointing information in the containerizer itself.  We will likely revisit 
this decision in the future.

This message was sent by Atlassian JIRA

Reply via email to