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

Make REST server thread pool size configurable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.5, 0.95.2
    • Fix Version/s: 0.94.5, 0.95.0
    • Component/s: REST
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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. trunk-7498_2.patch
          3 kB
          Jimmy Xiang
        2. 0.94-7498_v2.patch
          3 kB
          Jimmy Xiang
        3. trunk-7498.patch
          1 kB
          Jimmy Xiang

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: