From yarn-issues-return-166308-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Mon Apr 8 15:50:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B391E180627 for ; Mon, 8 Apr 2019 17:50:01 +0200 (CEST) Received: (qmail 65579 invoked by uid 500); 8 Apr 2019 15:30:23 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 65559 invoked by uid 99); 8 Apr 2019 15:30:23 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2019 15:30:23 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6079CE2A52 for ; Mon, 8 Apr 2019 15:50:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1AF0D24599 for ; Mon, 8 Apr 2019 15:50:00 +0000 (UTC) Date: Mon, 8 Apr 2019 15:50:00 +0000 (UTC) From: "Eric Badger (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-7848) Force removal of docker containers that do not get removed on first try MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-7848?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16812= 528#comment-16812528 ]=20 Eric Badger commented on YARN-7848: ----------------------------------- Thanks for the update, [~eyang]! On the java side, it looks like {{DockerRm= Command}} is invoked in 2 different places. Could we maintain the original = constructor with no force and then add an additional constructor with a {{f= orce}} parameter? We could then change the 2 invocations to use the new con= structor with setting {{force}} to {{true}}.=20 > Force removal of docker containers that do not get removed on first try > ----------------------------------------------------------------------- > > Key: YARN-7848 > URL: https://issues.apache.org/jira/browse/YARN-7848 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Eric Badger > Assignee: Eric Yang > Priority: Major > Labels: Docker > Attachments: YARN-7848.001.patch, YARN-7848.002.patch > > > After the addition of=C2=A0YARN-5366, containers will get removed after a= certain debug delay. However, this is a one-time effort. If the removal fa= ils for whatever reason, the container will persist. We need to add a mecha= nism for a forced removal of those containers. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org