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

[email protected] commented on HBASE-3750:
------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/573/
-----------------------------------------------------------

(Updated 2011-04-10 04:18:50.350005)


Review request for hbase and Lars George.


Changes
-------

I only kept the call to tableFactory.releaseHTableInterface()


Summary (updated)
-------

When HTable instance is discarded in putTable(), we should call 
tableFactory.releaseHTableInterface().


This addresses bug HBASE-3750.
    https://issues.apache.org/jira/browse/HBASE-3750


Diffs (updated)
-----

  /src/main/java/org/apache/hadoop/hbase/client/HTablePool.java 1090659 

Diff: https://reviews.apache.org/r/573/diff


Testing
-------

TestHTablePool passes.


Thanks,

Ted



> HTablePool.putTable() should call tableFactory.releaseHTableInterface() for 
> discarded table
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-3750
>                 URL: https://issues.apache.org/jira/browse/HBASE-3750
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.90.1
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 3750.txt
>
>
> Currently HTablePool.putTable() doesn't call table.flushCommits()
> When HTable instance is discarded in putTable(), we should call 
> tableFactory.releaseHTableInterface().

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to