hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7206) External Exception framework v2 (simplifies and replaces HBASE-6571)
Date Wed, 05 Dec 2012 21:35:58 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510801#comment-13510801
] 

stack commented on HBASE-7206:
------------------------------

bq. I'm just going to use Foreign instead of the longer ForeignThread in most places

I was just going to say... having 'Thread' in the name is a little redundant on the day after.
 +1 on talking up the peer aspect of partipants.  Once I got that part, the proposal made
way more sense.  Thanks.
                
> 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, hbase-7206.v3.patch
>
>
> 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