Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8220

can we record the count opened HTable for HTablePool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Client
    • None

    Description

      In HTablePool, we have a method getCurrentPoolSize(...) to get how many opened HTable has been pooled. However, we don't know ConcurrentOpenedHTable which means the count of HTable get from HTablePool.getTable(...) and don't return to HTablePool by PooledTable.close(). The ConcurrentOpenedHTable may be meaningful because it indicates how many HTables should be opened for the application which may help us set the appropriate MaxSize of HTablePool. Therefore, we can and a ConcurrentOpenedHTable as a counter in HTablePool.

      Attachments

        1. 8220-trunk-v1.txt
          3 kB
          Jianwei Cui
        2. 8220-trunk-v2.txt
          5 kB
          Jianwei Cui
        3. 8220-trunk-v3.txt
          5 kB
          Jianwei Cui
        4. 8220-trunk-v3-reattached.txt
          5 kB
          Jianwei Cui
        5. 8220-trunk-v4.txt
          5 kB
          Jianwei Cui
        6. HBASE-8220-0.94.3.txt
          3 kB
          Jianwei Cui
        7. HBASE-8220-0.94.3.txt
          3 kB
          Jianwei Cui
        8. HBASE-8220-0.94.3.txt-v2
          3 kB
          Jianwei Cui
        9. HBASE-8220-0.94.3-v2.txt
          3 kB
          Jianwei Cui
        10. HBASE-8220-0.94.3-v3.txt
          3 kB
          Jianwei Cui
        11. HBASE-8220-0.94.3-v4.txt
          3 kB
          Jianwei Cui
        12. HBASE-8220-0.94.3-v5.txt
          5 kB
          Jianwei Cui

        Activity

          People

            Unassigned Unassigned
            cuijianwei Jianwei Cui
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: