hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4918) HTablePool Constructor may cause unintended behavior
Date Thu, 01 Dec 2011 03:59:39 GMT

    [ 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

        

Mime
View raw message