Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10994 HBase Multi-Tenancy
  3. HBASE-10993

Deprioritize long-running scanners

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.99.0
    • IPC/RPC, regionserver, Scheduler
    • None

    Description

      Currently we have a single call queue that serves all the "normal user" requests, and the requests are executed in FIFO.

      When running map-reduce jobs and user-queries on the same machine, we want to prioritize the user-queries.

      Without changing too much code, and not having the user giving hints, we can add a “vtime” field to the scanner, to keep track from how long is running. And we can replace the callQueue with a priorityQueue. In this way we can deprioritize long-running scans, the longer a scan request lives the less priority it gets.

      Attachments

        1. HBASE-10993-v0.patch
          31 kB
          Matteo Bertozzi
        2. HBASE-10993-v1.patch
          33 kB
          Matteo Bertozzi
        3. HBASE-10993-v2.patch
          34 kB
          Matteo Bertozzi
        4. HBASE-10993-v3.patch
          35 kB
          Matteo Bertozzi
        5. HBASE-10993-v4.patch
          35 kB
          Matteo Bertozzi
        6. HBASE-10993-v4.patch
          35 kB
          Matteo Bertozzi
        7. HBASE-10993-v5.patch
          35 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: