accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3428) Use HostAndPort instead of a String for tracking addresses
Date Wed, 17 Dec 2014 00:40:13 GMT
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)

Mime
View raw message