You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/02/05 05:01:11 UTC

[jira] [Commented] (HBASE-7592) HConnectionManager.getHTableDescriptor() compares too much

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

Hudson commented on HBASE-7592:
-------------------------------

Integrated in HBase-0.94-security-on-Hadoop-23 #11 (See [https://builds.apache.org/job/HBase-0.94-security-on-Hadoop-23/11/])
    HBASE-7592 HConnectionManager.getHTableDescriptor() compares too much (Revision 1434532)

     Result = FAILURE
mbertozzi : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java

                
> HConnectionManager.getHTableDescriptor() compares too much
> ----------------------------------------------------------
>
>                 Key: HBASE-7592
>                 URL: https://issues.apache.org/jira/browse/HBASE-7592
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.94.4
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Trivial
>             Fix For: 0.94.5
>
>         Attachments: HBASE-7592-v0.patch, HBASE-7592-v1.patch
>
>
> in 0.94 getHTableDescriptor() looks at every htd instead of returning at the first found. (Trunks has already the early exit)
> {code}
> for (HTableDescriptor htd: htds) {
>   if (Bytes.equals(tableName, htd.getName())) {
>     hTableDescriptor = htd;
>   }
> }
> return htableDescriptor
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira