hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7206) External Exception framework v2 (simplifies and replaces HBASE-6571)
Date Fri, 23 Nov 2012 01:12:58 GMT

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

Jonathan Hsieh updated HBASE-7206:
----------------------------------

    Attachment: 121122-external-exceptions.pdf

Attached a quick deck motivating and describing lifecycle of external exceptions framework.
                
> External Exception framework v2 (simplifies and replaces HBASE-6571)
> --------------------------------------------------------------------
>
>                 Key: HBASE-7206
>                 URL: https://issues.apache.org/jira/browse/HBASE-7206
>             Project: HBase
>          Issue Type: Sub-task
>          Components: snapshots
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>             Fix For: hbase-6055, 0.96.0
>
>         Attachments: 121122-external-exceptions.pdf
>
>
> This provides a way of sending exceptions from 'external' threads/processes (not the
main executing thread) to others that poll cooperatively for external exceptions.  Some examples
of how this can be used include: having a separate timeout thread that injects an exception
when a time limit has elapsed (TimeoutExceptionInjector, was OperationAttemptTimer), or having
an exception from an separate process delivered to a local thread.  
> This simplified version is centered around the ExternalException class.  Instead of using
generics and ErrorListener interfaces, this more straight-forward implementation eliminates
many of the builders/factories and generics.

--
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

Mime
View raw message