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 6252B1089A for ; Tue, 23 Dec 2014 00:31:14 +0000 (UTC) Received: (qmail 16060 invoked by uid 500); 23 Dec 2014 00:31:14 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 16022 invoked by uid 500); 23 Dec 2014 00:31:14 -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 16011 invoked by uid 99); 23 Dec 2014 00:31:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2014 00:31:14 +0000 Date: Tue, 23 Dec 2014 00:31:14 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ACCUMULO-3448) ZooUtil throws exception even when retry succeeds 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-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Elser resolved ACCUMULO-3448. ---------------------------------- Resolution: Fixed > ZooUtil throws exception even when retry succeeds > ------------------------------------------------- > > Key: ACCUMULO-3448 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3448 > Project: Accumulo > Issue Type: Bug > Components: fate > Reporter: Christopher Tubbs > Assignee: Josh Elser > Priority: Blocker > Fix For: 1.6.2, 1.7.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Saw this while examining checkstyle warnings: > {{o.a.a.fate.zookeeper.ZooUtil}} has a static {{putData}} method which is called by other methods. In the {{OVERWRITE}} case, if an exception was caused by a timeout or other temporary, connection-related issue, it attempts to retry by calling a {{retryOrThrow}} method. > However, even if it does end up succeeding (not throwing an exception), the case in the switch statement falls through to the default case, and throws the exception anyway, never retrying. > May affect previous versions. I have not triage'd those yet. -- This message was sent by Atlassian JIRA (v6.3.4#6332)