[
https://issues.apache.org/jira/browse/HBASE-9976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826710#comment-13826710
]
Nicolas Liochon commented on HBASE-9976:
----------------------------------------
TestFavoredNodeAssignmentHelper was creating 60000 TableName. As we do a copy
on write, we're slower than before on such a scenario. Locally the test passed,
but it's likely slower on Jenkins. I fixed this by having a single table for
this test.
> Don't create duplicated TableName objects
> -----------------------------------------
>
> Key: HBASE-9976
> URL: https://issues.apache.org/jira/browse/HBASE-9976
> Project: HBase
> Issue Type: Bug
> Components: Client, regionserver
> Affects Versions: 0.98.0, 0.96.0
> Reporter: Nicolas Liochon
> Assignee: Nicolas Liochon
> Fix For: 0.98.0, 0.96.1
>
> Attachments: 9976.v1.patch, 9976.v4.patch, 9976.v6.patch,
> 9976.v7.patch, 9976.v7.patch, 9976.v8.patch
>
>
> A profiling show that the table name is reponsible for 25% of the memory
> needed to keep the region locations. As well, comparisons will be faster if
> two identical table names are a single java object.
--
This message was sent by Atlassian JIRA
(v6.1#6144)