hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8220) can we record the count opened HTable for HTablePool
Date Fri, 29 Mar 2013 17:01:17 GMT

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

Nick Dimiduk updated HBASE-8220:
--------------------------------

    Description: In HTablePool, we have a method getCurrentPoolSize(...) to get how many opened
HTable has been pooled. However, we don't know ConcurrentOpenedHTable which means the count
of HTable get from HTablePool.getTable(...) and don't return to HTablePool by PooledTable.close().
The ConcurrentOpenedHTable may be meaningful because it indicates how many HTables should
be opened for the application which may help us set the appropriate MaxSize of HTablePool.
Therefore, we can and a ConcurrentOpenedHTable as a counter in HTablePool.
    Environment:     (was: In HTablePool, we have a method getCurrentPoolSize(...) to get
how many opened HTable has been pooled. However, we don't know ConcurrentOpenedHTable which
means the count of HTable get from HTablePool.getTable(...) and don't return to HTablePool
by PooledTable.close(). The ConcurrentOpenedHTable may be meaningful because it indicates
how many HTables should be opened for the application which may help us set the appropriate
MaxSize of HTablePool. Therefore, we can and a ConcurrentOpenedHTable as a counter in HTablePool.)

Moving description from the "environment" field.
                
> can we record the count opened HTable for HTablePool
> ----------------------------------------------------
>
>                 Key: HBASE-8220
>                 URL: https://issues.apache.org/jira/browse/HBASE-8220
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>    Affects Versions: 0.94.3
>            Reporter: cuijianwei
>
> In HTablePool, we have a method getCurrentPoolSize(...) to get how many opened HTable
has been pooled. However, we don't know ConcurrentOpenedHTable which means the count of HTable
get from HTablePool.getTable(...) and don't return to HTablePool by PooledTable.close(). The
ConcurrentOpenedHTable may be meaningful because it indicates how many HTables should be opened
for the application which may help us set the appropriate MaxSize of HTablePool. Therefore,
we can and a ConcurrentOpenedHTable as a counter in HTablePool.

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

Mime
View raw message