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 D34861737A for ; Wed, 22 Oct 2014 22:15:34 +0000 (UTC) Received: (qmail 89976 invoked by uid 500); 22 Oct 2014 22:15:34 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 89929 invoked by uid 500); 22 Oct 2014 22:15:34 -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 89916 invoked by uid 99); 22 Oct 2014 22:15:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2014 22:15:34 +0000 Date: Wed, 22 Oct 2014 22:15:34 +0000 (UTC) From: "Karthik Kambatla (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-2721) Race condition: ZKRMStateStore retry logic may throw NodeExist exception 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-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karthik Kambatla updated YARN-2721: ----------------------------------- Priority: Blocker (was: Major) > Race condition: ZKRMStateStore retry logic may throw NodeExist exception > ------------------------------------------------------------------------- > > Key: YARN-2721 > URL: https://issues.apache.org/jira/browse/YARN-2721 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Jian He > Assignee: Jian He > Priority: Blocker > Fix For: 2.6.0 > > Attachments: YARN-2721.1.patch > > > Blindly retrying operations in zookeeper will not work for non-idempotent operations (like create znode). The reason is that the client can do a create znode, but the response may not be returned because the server can die or timeout. In case of retrying the create znode, it will throw a NODE_EXISTS exception from the earlier create from the same session. -- This message was sent by Atlassian JIRA (v6.3.4#6332)