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

Improve how HTable handles threads used for multi actions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.2
    • 0.90.3
    • None
    • None
    • Reviewed
    • hbase.htable.threads.max now defaults to Integer.MAX_VALUE. Setting this below the number of region servers can result into RejectedExecutionException.
    • noob

    Description

      When creating a new HTable we have to query ZK to learn about the number of region servers in the cluster. That is done for every single one of them, I think instead we should do it once per JVM and then reuse that number for all the others.

      Attachments

        1. HBASE-3767.patch
          3 kB
          Jean-Daniel Cryans
        2. HBASE-3767-v2.patch
          7 kB
          Jean-Daniel Cryans

        Issue Links

          Activity

            People

              jdcryans Jean-Daniel Cryans
              jdcryans Jean-Daniel Cryans
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: