Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C71C3D08E for ; Tue, 6 Nov 2012 22:12:13 +0000 (UTC) Received: (qmail 64154 invoked by uid 500); 6 Nov 2012 22:12:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 64113 invoked by uid 500); 6 Nov 2012 22:12:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 64104 invoked by uid 99); 6 Nov 2012 22:12:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 22:12:13 +0000 Date: Tue, 6 Nov 2012 22:12:13 +0000 (UTC) From: "Jonathan Hsieh (JIRA)" To: issues@hbase.apache.org Message-ID: <1526888933.77226.1352239933493.JavaMail.jiratomcat@arcas> In-Reply-To: <68406950.24632.1351118052187.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HBASE-7047) [snapshots] Refactor error handling to use javax.management 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/HBASE-7047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491875#comment-13491875 ] Jonathan Hsieh commented on HBASE-7047: --------------------------------------- I agree. Let's get the nits taken care of on the offline snapshots, commit, and then file some follow on jiras for the remaining issues. > [snapshots] Refactor error handling to use javax.management > ----------------------------------------------------------- > > Key: HBASE-7047 > URL: https://issues.apache.org/jira/browse/HBASE-7047 > Project: HBase > Issue Type: Sub-task > Components: Client, master, regionserver, snapshots, Zookeeper > Affects Versions: hbase-6055 > Reporter: Jesse Yates > Assignee: Jesse Yates > Fix For: hbase-6055 > > Attachments: hbase-7047-v0-adv.patch, hbase-7047-v0.patch > > > The current error handling framework introduced in HBASE-6571 adds a lot of complexity for what is essentially a solved problem. Specifically, cross-thread notifications have been generalized for the JMX tooling in the javax.management classes. > Similar to what we developed, they have a NotifciationBroadcaster, NotificationListener, etc. though these are interfaces rather than general classes. These javax classes can be used almost 1-to-1 as replacements for things like the ExceptionOrchestrator and ExceptionListener. This also gives us the opportunity to easily add primitive notifications for standard HBase things like (1) timeouts, (2) aborts, and (3) server stops since the framework already considers things like typed notifications. -- 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