You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jimmy Xiang (Commented) (JIRA)" <ji...@apache.org> on 2012/02/01 18:40:59 UTC

[jira] [Commented] (HBASE-5310) HConnectionManager server cache key enhancement

    [ https://issues.apache.org/jira/browse/HBASE-5310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197984#comment-13197984 ] 

Jimmy Xiang commented on HBASE-5310:
------------------------------------

@Ted, thanks for review and integration.
                
> HConnectionManager server cache key enhancement
> -----------------------------------------------
>
>                 Key: HBASE-5310
>                 URL: https://issues.apache.org/jira/browse/HBASE-5310
>             Project: HBase
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: hbase-5310.txt
>
>
> HConnectionManager uses deprecated HServerAddress to create server cache key which needs to resolve the address every time.
> It should be better to use HRegionLocation.getHostnamePort() instead.
> In our cluster we have some DNS issue, resolving an address fails sometime which kills the application since it is a runtime
> exception IllegalArgumentException thrown at HServerAddress.getResolvedAddress.  This change will fix this issue as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira