hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9976) Don't create duplicated TableName objects
Date Mon, 18 Nov 2013 17:57:21 GMT

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

Ted Yu commented on HBASE-9976:
-------------------------------

I got the following when compiling patch v6:
{code}
[ERROR] /Users/tyu/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/TableName.java:[443,20]
cannot find symbol
[ERROR] symbol  : method compare(int,int)
[ERROR] location: class java.lang.Integer
{code}

> 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
>
>
> 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)

Mime
View raw message