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] [Updated] (ACCUMULO-3428) Use HostAndPort instead of a String for tracking addresses
Date Wed, 17 Dec 2014 16:35:13 GMT

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

Josh Elser updated ACCUMULO-3428:
---------------------------------
    Description: 
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.

  was:
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.


> 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
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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