You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/12/17 01:40:13 UTC

[jira] [Created] (ACCUMULO-3428) Use HostAndPort instead of a String for tracking addresses

Josh Elser created ACCUMULO-3428:
------------------------------------

             Summary: Use HostAndPort instead of a String for tracking addresses
                 Key: ACCUMULO-3428
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3428
             Project: Accumulo
          Issue Type: Improvement
          Components: client, master, rpc, tserver
            Reporter: Josh Elser
            Assignee: Josh Elser
             Fix For: 1.7.0


Noticed in ACCUMULO-3425 that the Thrift RPC factory classes accept {{String}}s half of the time and {{HostAndPort}}s the other half of the time.

We should consolidate on HostAndPort (since it includes some basic sanity checks that are better than our {{address.indexOf(':')}} that we _sometimes_ do), and let this filter up into server's RPC use and the client API implementation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)