Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D72A17FBD for ; Wed, 8 Apr 2015 21:48:12 +0000 (UTC) Received: (qmail 46782 invoked by uid 500); 8 Apr 2015 21:48:12 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 46750 invoked by uid 500); 8 Apr 2015 21:48:12 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 46738 invoked by uid 99); 8 Apr 2015 21:48:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2015 21:48:12 +0000 Date: Wed, 8 Apr 2015 21:48:12 +0000 (UTC) From: "Jie Yu (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-2601) Tasks are not removed after recovery from slave and mesos containerizer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-2601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14486131#comment-14486131 ] Jie Yu commented on MESOS-2601: ------------------------------- Checked the docker containerizer code, looks like docker containerizer will try to recover containers created by Mesos as well. We really need to checkpoint what containerizer creates the container. > Tasks are not removed after recovery from slave and mesos containerizer > ----------------------------------------------------------------------- > > Key: MESOS-2601 > URL: https://issues.apache.org/jira/browse/MESOS-2601 > Project: Mesos > Issue Type: Bug > Components: containerization, slave > Affects Versions: 0.22.1 > Reporter: Timothy Chen > > We've seen in our test cluster that tasks that were launched with the mesos containerizer are recovered after slave restart, but actual command process is not running anymore and the checkpointed executor is not marked as completed. > The Mesos containerizer recovers and all the isolators couldn't recover the task, but the containerizer itself is somehow never removed and the monitor kept calling usage on the containerizer. > Relevant log lines from the beginning of slave recovery: > I0408 18:06:33.261379 32504 slave.cpp:577] Successfully attached file '/hdd/mesos/slave/slaves/20150401-160104-251662508-5050-2197-S1/frameworks/20141222-194154-218108076-5050-4125-0004/executors/ct:1427921848104:0:EM DataDog Uploader:/runs/990741ed-909e-49cc-83f8-be63298872da' > ... > I0408 18:06:36.583277 32511 containerizer.cpp:350] Recovering container '990741ed-909e-49cc-83f8-be63298872da' for executor 'ct:1427921848104:0:EM DataDog Uploader:' of framework 20141222-194154-218108076-5050-4125-0004 > .... > I0408 18:06:37.017122 32511 linux_launcher.cpp:162] Couldn't find freezer cgroup for container 990741ed-909e-49cc-83f8-be63298872da, assuming already destroyed > W0408 18:06:37.074916 32496 cpushare.cpp:199] Couldn't find cgroup for container 990741ed-909e-49cc-83f8-be63298872da > I0408 18:06:37.075173 32486 mem.cpp:158] Couldn't find cgroup for container 990741ed-909e-49cc-83f8-be63298872da > E0408 18:06:37.092279 32496 containerizer.cpp:1136] Error in a resource limitation for container 990741ed-909e-49cc-83f8-be63298872da: Unknown container > I0408 18:06:37.092643 32496 containerizer.cpp:906] Destroying container '990741ed-909e-49cc-83f8-be63298872da' > W0408 18:06:37.229626 32501 containerizer.cpp:807] Ignoring update for currently being destroyed container: 990741ed-909e-49cc-83f8-be63298872da > W0408 18:06:38.129873 32484 containerizer.cpp:844] Skipping resource statistic for container 990741ed-909e-49cc-83f8-be63298872da because: Unknown container > W0408 18:06:38.129909 32484 containerizer.cpp:844] Skipping resource statistic for container 990741ed-909e-49cc-83f8-be63298872da because: Unknown container -- This message was sent by Atlassian JIRA (v6.3.4#6332)