You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (Commented) (JIRA)" <ji...@apache.org> on 2011/12/01 04:59:39 UTC

[jira] [Commented] (HBASE-4918) HTablePool Constructor may cause unintended behavior

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

stack commented on HBASE-4918:
------------------------------

Yeah, thats wrong. It should be calling through to this constructor:

{code}
  public HTablePool(final Configuration config, final int maxSize,
      final HTableInterfaceFactory tableFactory, PoolType poolType) {
{code}

Any chance of a patch Naoki?
                
> HTablePool Constructor may cause unintended behavior
> ----------------------------------------------------
>
>                 Key: HBASE-4918
>                 URL: https://issues.apache.org/jira/browse/HBASE-4918
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>         Environment: r1125533
>            Reporter: Kitora, Naoki
>
> {code:title=HTablePool.java}
> 96   public HTablePool(final Configuration config, final int maxSize,
> 97       final HTableInterfaceFactory tableFactory) {
> 98     this(config, maxSize, null, PoolType.Reusable);
> 99   }
> {code} 
> I think that 3rd argument in line 98 should be "tableFactory".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira