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 022EF200BA7 for ; Fri, 21 Oct 2016 17:59:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 00C92160ADE; Fri, 21 Oct 2016 15:59:01 +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 5B864160AF2 for ; Fri, 21 Oct 2016 17:59:00 +0200 (CEST) Received: (qmail 96751 invoked by uid 500); 21 Oct 2016 15:58: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 96381 invoked by uid 99); 21 Oct 2016 15:58:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2016 15:58:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EA8C32C0D55 for ; Fri, 21 Oct 2016 15:58:58 +0000 (UTC) Date: Fri, 21 Oct 2016 15:58:58 +0000 (UTC) From: "Rohith Sharma K S (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5759) Capability to register for a notification/callback on the expiry of timeouts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 21 Oct 2016 15:59:01 -0000 [ https://issues.apache.org/jira/browse/YARN-5759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15595494#comment-15595494 ] Rohith Sharma K S commented on YARN-5759: ----------------------------------------- I believe intention of notification/callback is to clean up AM specific data which are stored in any of the storage. Unfortunately, there is no such hook or alternative solution exist today. There are couple of JIRA exist to provide solution in-general. YARN-2261 is Umbrella JIRA trying to provide a way to run post-application cleanup. YARN-5658 is also another related JIRA. > Capability to register for a notification/callback on the expiry of timeouts > ---------------------------------------------------------------------------- > > Key: YARN-5759 > URL: https://issues.apache.org/jira/browse/YARN-5759 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Gour Saha > > There is a need for the YARN native services REST-API service, to take certain actions once a timeout of an application expires. For example, an immediate requirement is to destroy a Slider application, once its lifetime timeout expires and YARN has stopped the application. Destroying a Slider application means cleanup of Slider HDFS state store and ZK paths for that application. > Potentially, there will be advanced requirements from the REST-API service and other services in the future, which will make this feature very handy. -- 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