hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu" <ted...@yahoo.com>
Subject Review Request: When HTable instance is discarded in putTable(), we should call tableFactory.releaseHTableInterface()
Date Sat, 09 Apr 2011 19:48:31 GMT

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

Review request for hbase and Lars George.


Summary
-------

Currently HTablePool.putTable() doesn't call table.flushCommits()
If AutoFlush is disabled for table instance, we should call table.flushCommits().

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


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


Diffs
-----

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

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


Testing
-------

TestHTablePool passes.


Thanks,

Ted


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message