[jira] [Updated] (HBASE-9049) Generalize ServerCallable creation to support custom callables

2015-11-03 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-9049:
--
Fix Version/s: 0.98.0
   0.95.2
   0.94.11

> 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
> Fix For: 0.98.0, 0.95.2, 0.94.11, 2.0.0
>
> Attachments: hbase-9049-trunk-v0.patch, hbase-9049-trunk-v1.patch, 
> hbase-9049-trunk-v2.patch, hbase-9049-trunk-v3.patch, 
> hbase-9049-trunk-v4.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 was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-9049) Generalize ServerCallable creation to support custom callables

2015-11-03 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-9049:
--
Fix Version/s: 2.0.0

> 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
> Fix For: 2.0.0
>
> Attachments: hbase-9049-trunk-v0.patch, hbase-9049-trunk-v1.patch, 
> hbase-9049-trunk-v2.patch, hbase-9049-trunk-v3.patch, 
> hbase-9049-trunk-v4.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 was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-9049) Generalize ServerCallable creation to support custom callables

2013-07-31 Thread Jesse Yates (JIRA)

 [ 
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-v3.patch

Attaching patch that fixes TestAsyncProcess locally and does a little cleanup 
in RpcCallerFactory (better config name, makes the configuration final).

Committing today, pending HadoopQA

 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, hbase-9049-trunk-v1.patch, 
 hbase-9049-trunk-v2.patch, hbase-9049-trunk-v3.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


[jira] [Updated] (HBASE-9049) Generalize ServerCallable creation to support custom callables

2013-07-31 Thread Jesse Yates (JIRA)

 [ 
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-v4.patch

Wow, rough day. Fix for tests locally. Also includes line length and javadoc 
fix. Come on HadoopQA!

 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, hbase-9049-trunk-v1.patch, 
 hbase-9049-trunk-v2.patch, hbase-9049-trunk-v3.patch, 
 hbase-9049-trunk-v4.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


[jira] [Updated] (HBASE-9049) Generalize ServerCallable creation to support custom callables

2013-07-31 Thread Jesse Yates (JIRA)

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

Jesse Yates updated HBASE-9049:
---

  Resolution: Fixed
Release Note: Support custom RpcRetryingCaller via a configurable factory. 
  Status: Resolved  (was: Patch Available)

Committed to 0.95 and 0.98.

 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, hbase-9049-trunk-v1.patch, 
 hbase-9049-trunk-v2.patch, hbase-9049-trunk-v3.patch, 
 hbase-9049-trunk-v4.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


[jira] [Updated] (HBASE-9049) Generalize ServerCallable creation to support custom callables

2013-07-30 Thread Jesse Yates (JIRA)

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

Jesse Yates updated HBASE-9049:
---

Status: Patch Available  (was: Open)

 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, hbase-9049-trunk-v1.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


[jira] [Updated] (HBASE-9049) Generalize ServerCallable creation to support custom callables

2013-07-30 Thread Jesse Yates (JIRA)

 [ 
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-v2.patch

Slight update to previous patch - undoes the cleanup to ClientScanner's 
creation of scanner callable. I'll commit after hearing from HadoopQA

 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, hbase-9049-trunk-v1.patch, 
 hbase-9049-trunk-v2.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


[jira] [Updated] (HBASE-9049) Generalize ServerCallable creation to support custom callables

2013-07-27 Thread Jesse Yates (JIRA)

 [ 
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-v1.patch

Updating patch on top of latest trunk (particularly HBASE-8764). Ended up being 
much smaller - stack beat me to some of the same changes :)

Updated the git link with the Hystrix example.

 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, hbase-9049-trunk-v1.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


[jira] [Updated] (HBASE-9049) Generalize ServerCallable creation to support custom callables

2013-07-26 Thread Jesse Yates (JIRA)

 [ 
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