Return-Path: X-Original-To: apmail-curator-dev-archive@minotaur.apache.org Delivered-To: apmail-curator-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAC6A17416 for ; Tue, 21 Apr 2015 16:21:59 +0000 (UTC) Received: (qmail 30699 invoked by uid 500); 21 Apr 2015 16:21:59 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 30652 invoked by uid 500); 21 Apr 2015 16:21:59 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 30640 invoked by uid 99); 21 Apr 2015 16:21:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 16:21:59 +0000 Date: Tue, 21 Apr 2015 16:21:59 +0000 (UTC) From: "Jordan Zimmerman (JIRA)" To: dev@curator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CURATOR-192) ChildReaper loggs error when the path to reap children from is empty 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/CURATOR-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14505209#comment-14505209 ] Jordan Zimmerman commented on CURATOR-192: ------------------------------------------ NoNode would only be thrown if the _parent_ node didn't exist. This means a node was added to the ChildReaper that no longer exists. Shouldn't this be logged? > ChildReaper loggs error when the path to reap children from is empty > -------------------------------------------------------------------- > > Key: CURATOR-192 > URL: https://issues.apache.org/jira/browse/CURATOR-192 > Project: Apache Curator > Issue Type: Bug > Components: Recipes > Affects Versions: 2.7.1 > Reporter: Ricardo Ferreira > Priority: Minor > > When retrieving the children to reap, if there are no children a KeeperErrorCode = NoNode is thrown. > This exception is logged as an error. > This should be an expected behavior, so either a KeeperException.NoNodeException should be caught and silenced or logged as debug/trace. -- This message was sent by Atlassian JIRA (v6.3.4#6332)