Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BAEBAFFF0 for ; Tue, 2 Apr 2013 20:41:15 +0000 (UTC) Received: (qmail 22979 invoked by uid 500); 2 Apr 2013 20:41:15 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 22948 invoked by uid 500); 2 Apr 2013 20:41:15 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 22901 invoked by uid 99); 2 Apr 2013 20:41:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Apr 2013 20:41:15 +0000 Date: Tue, 2 Apr 2013 20:41:15 +0000 (UTC) From: "Eric Newton (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-1233) race condition looking at zookeeper nodes 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/ACCUMULO-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Newton updated ACCUMULO-1233: ---------------------------------- Labels: 15_qa_bug (was: ) > race condition looking at zookeeper nodes > ----------------------------------------- > > Key: ACCUMULO-1233 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1233 > Project: Accumulo > Issue Type: Bug > Components: master, tserver > Reporter: Eric Newton > Assignee: Eric Newton > Priority: Minor > Labels: 15_qa_bug > Fix For: 1.5.0 > > > There's a common pattern used with zookeeper: > {noformat} > for (String child : zk.getChildren(path)) { > byte[] content = zk.getData(path + "/" + child, null, null); > doSomething(content); > } > {noformat} > The problem is that between the getChildren() call and the getData() call, the child node has gone away. > We'll typically retry these operations, but it puts big scary messages in the logs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira