You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jesse Yates (JIRA)" <ji...@apache.org> on 2012/08/13 23:46:38 UTC

[jira] [Updated] (HBASE-6571) Generic multi-thread/cross-process error handling framework

     [ https://issues.apache.org/jira/browse/HBASE-6571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Yates updated HBASE-6571:
-------------------------------

    Attachment: Distributed Error Monitoring.docx
                java_HBASE-6571-v0.patch

Attaching patch and design doc, posting to RB momentarily.
                
> Generic multi-thread/cross-process error handling framework
> -----------------------------------------------------------
>
>                 Key: HBASE-6571
>                 URL: https://issues.apache.org/jira/browse/HBASE-6571
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Jesse Yates
>            Assignee: Jesse Yates
>         Attachments: Distributed Error Monitoring.docx, java_HBASE-6571-v0.patch
>
>
> The idea for a generic inter-process error-handling framework came from working on HBASE-6055 (snapshots). Distributed snapshots require tight time constraints in taking a snapshot to minimize offline time in face of errors. However, we often need to coordinate errors between processes and the current Abortable framework is not sufficiently flexible to handle the multitude of situations that can occur when coordinating between all region servers, the master and zookeeper. Using this framework error handling for snapshots was a simple matter, amounting to maybe 200 LOC.
> This seems to be a generally useful framework and can be used to easily add inter-process error handling in HBase. The most obvious immediate usage is as part of HBASE-5487 when coordinating multiple sub-tasks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira