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

Make REST server thread pool size configurable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.5, 0.95.2
    • 0.94.5, 0.95.0
    • REST
    • None
    • Reviewed
    • Hide
      Added two configuration parameters hbase.rest.threads.max (default 100) and hbase.rest.threads.min (default 2) to configure the thread pool of a REST server.

      Before that, the thread pool is not configurable, and it has the default value max threads: 250, min threads: 2.
      Show
      Added two configuration parameters hbase.rest.threads.max (default 100) and hbase.rest.threads.min (default 2) to configure the thread pool of a REST server. Before that, the thread pool is not configurable, and it has the default value max threads: 250, min threads: 2.

    Description

      Currently, the REST server thread pool size is the default: 250. It can't be configured. We need to make it configurable so that it can be adjusted per traffic/load so that REST server is less likely to OOM and die.

      Attachments

        1. 0.94-7498_v2.patch
          3 kB
          Jimmy Xiang
        2. trunk-7498_2.patch
          3 kB
          Jimmy Xiang
        3. trunk-7498.patch
          1 kB
          Jimmy Xiang

        Issue Links

          Activity

            People

              jxiang Jimmy Xiang
              jxiang Jimmy Xiang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: