Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A7F411615 for ; Wed, 16 Apr 2014 02:22:29 +0000 (UTC) Received: (qmail 85348 invoked by uid 500); 16 Apr 2014 02:22:18 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 85155 invoked by uid 500); 16 Apr 2014 02:22:16 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 85128 invoked by uid 99); 16 Apr 2014 02:22:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2014 02:22:16 +0000 Date: Wed, 16 Apr 2014 02:22:16 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-10993) Deprioritize long-running scanners MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Matteo Bertozzi created HBASE-10993: --------------------------------------- Summary: Deprioritize long-running scanners Key: HBASE-10993 URL: https://issues.apache.org/jira/browse/HBASE-10993 Project: HBase Issue Type: Improvement Reporter: Matteo Bertozzi Assignee: Matteo Bertozzi Priority: Minor Fix For: 1.0.0 Attachments: HBASE-10993-v0.patch Currently we have a single call queue that serves all the "normal user" re= quests, 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 ca= n add a =E2=80=9Cvtime=E2=80=9D field to the scanner, to keep track from ho= w long is running. And we can replace the callQueue with a priorityQueue. I= n this way we can deprioritize long-running scans, the longer a scan reques= t lives the less priority it gets. -- This message was sent by Atlassian JIRA (v6.2#6252)