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

Ted Yu commented on HBASE-9983:
-------------------------------

{code}
-      addresses.add(location != null ? location.getHostnamePort() : "null 
location");
+      addresses.add(location != null ? location.getServerName().toString() : 
"null location");
{code}
What if two region servers run on the same server ?

> Lower the memory footprint of HRegionLocation
> ---------------------------------------------
>
>                 Key: HBASE-9983
>                 URL: https://issues.apache.org/jira/browse/HBASE-9983
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.98.0, 0.96.0
>            Reporter: Nicolas Liochon
>            Assignee: Nicolas Liochon
>            Priority: Minor
>             Fix For: 0.98.0, 0.96.1
>
>         Attachments: unbloated.patch
>
>
> It"s more or less a desperate cause...
> If we have a lot of regions, the size of this class becomes a problem. It's 
> under optimized for this case...
> This patch is just about the trivial part



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to