Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 1B0B9110BA for ; Wed, 13 Aug 2014 21:32:14 +0000 (UTC) Received: (qmail 69244 invoked by uid 500); 13 Aug 2014 21:32:13 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 69197 invoked by uid 500); 13 Aug 2014 21:32:13 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 69186 invoked by uid 99); 13 Aug 2014 21:32:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2014 21:32:13 +0000 Date: Wed, 13 Aug 2014 21:32:13 +0000 (UTC) From: "Varun Saxena (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2136) RMStateStore can explicitly handle store/update events when fenced 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/YARN-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096160#comment-14096160 ] Varun Saxena commented on YARN-2136: ------------------------------------ [~sunilg], on closer look at the code, when we close the RMStateStore, we close the ZKClients as well. Hence dispatcher queue draining shouldn't matter as ZKClient is already closed. Ofcourse as more than one thread is involved, AsyncDispatcher's event handling thread may pick up an event and process it(store/update operation) before RM can close RMStateStore(while switching to standby). But in my view, this shouldn't be too big an impact I think to warrant adding a FENCED state. > RMStateStore can explicitly handle store/update events when fenced > ------------------------------------------------------------------ > > Key: YARN-2136 > URL: https://issues.apache.org/jira/browse/YARN-2136 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Jian He > > RMStateStore can choose to handle/ignore store/update events upfront instead of invoking more ZK operations if state store is at fenced state. -- This message was sent by Atlassian JIRA (v6.2#6252)