[jira] [Commented] (HBASE-7705) Can we make the method getCurrentPoolSize of HTablePool public?
[ https://issues.apache.org/jira/browse/HBASE-7705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13565320#comment-13565320 ] Jieshan Bean commented on HBASE-7705: - I think we can make it public. Can we make the method getCurrentPoolSize of HTablePool public? --- Key: HBASE-7705 URL: https://issues.apache.org/jira/browse/HBASE-7705 Project: HBase Issue Type: Wish Components: Client Affects Versions: 0.94.3 Reporter: cuijianwei Priority: Minor We use HTablePool to manager opened HTable in our applications. We want to track the usage of HTablePool for different table names. Then we discover that HTablePool#getCurrentPoolSize could help us: {code} int getCurrentPoolSize(String tableName) { return tables.size(tableName); } {code} However, this method could only be called in the hbase client package. Can we make this method public? -- 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
[jira] [Commented] (HBASE-7705) Can we make the method getCurrentPoolSize of HTablePool public?
[ https://issues.apache.org/jira/browse/HBASE-7705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13565327#comment-13565327 ] cuijianwei commented on HBASE-7705: --- Thanks for your concern. I think this will be helpful to track the usage of HTablePool. Can we make the method getCurrentPoolSize of HTablePool public? --- Key: HBASE-7705 URL: https://issues.apache.org/jira/browse/HBASE-7705 Project: HBase Issue Type: Wish Components: Client Affects Versions: 0.94.3 Reporter: cuijianwei Priority: Minor Attachments: HBASE-7705-0.94.3.txt We use HTablePool to manager opened HTable in our applications. We want to track the usage of HTablePool for different table names. Then we discover that HTablePool#getCurrentPoolSize could help us: {code} int getCurrentPoolSize(String tableName) { return tables.size(tableName); } {code} However, this method could only be called in the hbase client package. Can we make this method public? -- 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
[jira] [Commented] (HBASE-7705) Can we make the method getCurrentPoolSize of HTablePool public?
[ https://issues.apache.org/jira/browse/HBASE-7705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13566037#comment-13566037 ] Andrew Purtell commented on HBASE-7705: --- +1 Can we make the method getCurrentPoolSize of HTablePool public? --- Key: HBASE-7705 URL: https://issues.apache.org/jira/browse/HBASE-7705 Project: HBase Issue Type: Wish Components: Client Affects Versions: 0.94.3 Reporter: cuijianwei Priority: Minor Attachments: HBASE-7705-0.94.3.txt We use HTablePool to manager opened HTable in our applications. We want to track the usage of HTablePool for different table names. Then we discover that HTablePool#getCurrentPoolSize could help us: {code} int getCurrentPoolSize(String tableName) { return tables.size(tableName); } {code} However, this method could only be called in the hbase client package. Can we make this method public? -- 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
[jira] [Commented] (HBASE-7705) Can we make the method getCurrentPoolSize of HTablePool public?
[ https://issues.apache.org/jira/browse/HBASE-7705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13566173#comment-13566173 ] Lars Hofhansl commented on HBASE-7705: -- As I stated before I'd rather get rid of HTablePool... Anyway. +1 from me too Can we make the method getCurrentPoolSize of HTablePool public? --- Key: HBASE-7705 URL: https://issues.apache.org/jira/browse/HBASE-7705 Project: HBase Issue Type: Wish Components: Client Affects Versions: 0.94.3 Reporter: cuijianwei Assignee: cuijianwei Priority: Minor Fix For: 0.94.5 Attachments: HBASE-7705-0.94.3.txt We use HTablePool to manager opened HTable in our applications. We want to track the usage of HTablePool for different table names. Then we discover that HTablePool#getCurrentPoolSize could help us: {code} int getCurrentPoolSize(String tableName) { return tables.size(tableName); } {code} However, this method could only be called in the hbase client package. Can we make this method public? -- 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