Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B899A200BF4 for ; Fri, 2 Dec 2016 04:22:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B1E95160B10; Fri, 2 Dec 2016 03:22:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0E4B2160B25 for ; Fri, 2 Dec 2016 04:21:59 +0100 (CET) Received: (qmail 59212 invoked by uid 500); 2 Dec 2016 03:21:59 -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 59099 invoked by uid 99); 2 Dec 2016 03:21:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2016 03:21:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BD77B2C2AC8 for ; Fri, 2 Dec 2016 03:21:58 +0000 (UTC) Date: Fri, 2 Dec 2016 03:21:58 +0000 (UTC) From: "Hitesh Sharma (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (YARN-5292) Support for PAUSED container state MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 02 Dec 2016 03:22:00 -0000 [ https://issues.apache.org/jira/browse/YARN-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15713883#comment-15713883 ] Hitesh Sharma edited comment on YARN-5292 at 12/2/16 3:21 AM: -------------------------------------------------------------- [~asuresh], can you please look at the attached patch? Thanks! was (Author: hrsharma): [~asuresh]], can you please look at the attached patch? Thanks! > Support for PAUSED container state > ---------------------------------- > > Key: YARN-5292 > URL: https://issues.apache.org/jira/browse/YARN-5292 > Project: Hadoop YARN > Issue Type: New Feature > Reporter: Hitesh Sharma > Assignee: Hitesh Sharma > Attachments: YARN-5292.001.patch, YARN-5292.002.patch, YARN-5292.003.patch, YARN-5292.004.patch, yarn-5292.pdf > > > YARN-2877 introduced OPPORTUNISTIC containers, and YARN-5216 proposes to add capability to customize how OPPORTUNISTIC containers get preempted. > In this JIRA we propose introducing a PAUSED container state. > When a running container gets preempted, it enters the PAUSED state, where it remains until resources get freed up on the node then the preempted container can resume to the running state. > > One scenario where this capability is useful is work preservation. How preemption is done, and whether the container supports it, is implementation specific. > For instance, if the container is a virtual machine, then preempt would pause the VM and resume would restore it back to the running state. > If the container doesn't support preemption, then preempt would default to killing the container. > -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org