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 F3F8C105CA for ; Mon, 6 Jan 2014 22:43:52 +0000 (UTC) Received: (qmail 45290 invoked by uid 500); 6 Jan 2014 22:43:52 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 45257 invoked by uid 500); 6 Jan 2014 22:43:52 -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 45249 invoked by uid 99); 6 Jan 2014 22:43:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 22:43:52 +0000 Date: Mon, 6 Jan 2014 22:43:52 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1984) Clean up Instance closing 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-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863545#comment-13863545 ] ASF subversion and git services commented on ACCUMULO-1984: ----------------------------------------------------------- Commit e946ba052c3fcce8d07815b9daf51bcdc3febbd3 in branch refs/heads/1.6.0-SNAPSHOT from [~keith_turner] [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=e946ba0 ] ACCUMULO-1858 revert commits that added ZooKeeperInstance.close() Revert "ACCUMULO-2027 Synchronized access to ZooKeeperInstance methods that mutated state" This reverts commit 975e8c05e8d11f3848e6c800f4d2772026f6c3a3. Revert "ACCUMULO-1984 Rework interruption for instance implementations." This reverts commit 0d0bc4643a8680593e2cf5f828b7566c30fcb345. Conflicts: src/core/src/main/java/org/apache/accumulo/core/client/Instance.java src/core/src/main/java/org/apache/accumulo/core/zookeeper/ZooCache.java src/core/src/main/java/org/apache/accumulo/core/zookeeper/ZooReader.java Revert "ACCUMULO-1889 mark ZKI as closed once close() is called." This reverts commit ada4180379d46297c1531cf8065de5030d12953d. Revert "ACCUMULO-1858 Backport ZooKeeper clean up to 1.4 and 1.5." This reverts commit 79d686faa1e477b9cbd80c6f833ece402050b490. Conflicts: src/core/src/main/java/org/apache/accumulo/core/client/Instance.java src/core/src/main/java/org/apache/accumulo/core/zookeeper/ZooCache.java > Clean up Instance closing > ------------------------- > > Key: ACCUMULO-1984 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1984 > Project: Accumulo > Issue Type: Improvement > Reporter: Sean Busbey > Assignee: Bill Havanki > Priority: Blocker > Fix For: 1.4.5, 1.5.1, 1.6.0 > > Attachments: ACCUMULO-1984-1.4.patch > > > Per discussion with [~ctubbsii] on ACCUMULO-1889: > {quote} > It seems to me that the best fix is to: > * patch org.apache.accumulo.fate.zookeeper.ZooReader.close() to handle the ZooKeeper close()'s InterruptedException properly with Thread.currentThread().interrupt() > * stop propagating InterruptedException through the hierarchy of close() statements > * drop the AccumuloException from the Instance.close() method signature and make Interface extend java.io.Closeable instead (at the very least, drop the unnecessary AccumuloException and make it AutoCloseable when we switch to JDK1.7; changing it to java.io.Closeable now would ease that) > * change that catch statement to catch RuntimeExceptions instead of InterruptedException and rethrow them after fixing the counter > {quote} > Since this API is just being added, we should fix these things now before it gets published in a release. -- This message was sent by Atlassian JIRA (v6.1.5#6160)