hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-2828) HTable unnecessarily coupled with HMaster
Date Wed, 03 Nov 2010 19:40:26 GMT

     [ https://issues.apache.org/jira/browse/HBASE-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Gray updated HBASE-2828:
---------------------------------

    Attachment: HBASE-2828-0.90.patch

Looks like the documentation changes made it, just not the HTable.getCurrentNrHRS().  Patch
changes implementation of that method (same principle as original patch but slightly different0.

> HTable unnecessarily coupled with HMaster
> -----------------------------------------
>
>                 Key: HBASE-2828
>                 URL: https://issues.apache.org/jira/browse/HBASE-2828
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.90.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>             Fix For: 0.90.0
>
>         Attachments: HBASE-2828-0.90.patch, HBASE-2828.a.patch, HBASE-2828.patch
>
>
> HTable constructor calls "getCurrentNrHRS()" to get the region server count for thread
pool creation.  This code calls HBaseAdmin.getClusterStatus() [aka: the HMaster] to get the
server count.  This information can be scraped from counting the ZooKeeper /hbase/rs/--- ZNodes.
 Need to remove unnecessary master queries when ZooKeeper can do the same job.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message