You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/06/07 19:25:02 UTC

[jira] [Updated] (ACCUMULO-2867) Consolidate Thrift connection helper classes

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

Christopher Tubbs updated ACCUMULO-2867:
----------------------------------------

    Issue Type: Sub-task  (was: Improvement)
        Parent: ACCUMULO-756

> Consolidate Thrift connection helper classes
> --------------------------------------------
>
>                 Key: ACCUMULO-2867
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2867
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: client, master, replication, tserver
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>
> Came up during the review of ACCUMULO-378:
> ReplicationClient, MasterClient, and ThriftUtil are all classes with lots of static methods used to make executing RPC against a remote service much easier with nice constructs (like getting a typed return object).
> The downside is that they have lots of implicit gotchas contained (implicit retries, network failure handling, etc), which make them easier to use by the invoking code, but very complex beasts.
> It would be good to consolidate what we have into a common base, and then provide strong semantics on each operation that encapsulates how we want each to operate (master ops should retry quickly, replication ops should retry slowly and give up eventually, etc), and also allow for testing of these intended implementations.



--
This message was sent by Atlassian JIRA
(v6.2#6252)