[
https://issues.apache.org/jira/browse/HBASE-9049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse Yates updated HBASE-9049:
-------------------------------
Attachment: hbase-9049-trunk-v0.patch
Attaching patch for trunk.
I attempted to keep the same syntax as much as possible, rather than rewrite
the all of the calls (and have a massive change).
An example use case is here:
https://github.com/jyates/hbase/blob/hystrix-client-impl-r0/hbase-client/src/main/java/org/apache/hadoop/hbase/client/CircuitBreakingCallableFactory.java
where I do a simple implementation of wrapping a the ServerCallable with a the
Hystrix circuit-breaker to avoid going across the network to a server we think
is down (note: this doesn't support fixing the retry loops, its only a starting
point).
> Generalize ServerCallable creation to support custom callables
> --------------------------------------------------------------
>
> Key: HBASE-9049
> URL: https://issues.apache.org/jira/browse/HBASE-9049
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.0, 0.95.2, 0.94.11
> Reporter: Jesse Yates
> Assignee: Jesse Yates
> Attachments: hbase-9049-trunk-v0.patch
>
>
> Currently, sever callables are instantiated via direct calls. Instead, we can
> use a single factory and that allows more specialized callable
> implementations, for instance, using a circuit-breaker pattern (or the
> Hystrix implementation!) to minimize attempts to contact the server.
--
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