Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38B4E10151 for ; Wed, 30 Apr 2014 20:39:28 +0000 (UTC) Received: (qmail 92013 invoked by uid 500); 30 Apr 2014 20:39:19 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 91984 invoked by uid 500); 30 Apr 2014 20:39:18 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 91969 invoked by uid 99); 30 Apr 2014 20:39:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2014 20:39:18 +0000 Date: Wed, 30 Apr 2014 20:39:18 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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 [ https://issues.apache.org/jira/browse/HBASE-10993?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D139= 86045#comment-13986045 ]=20 Hadoop QA commented on HBASE-10993: ----------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest a= ttachment=20 http://issues.apache.org/jira/secure/attachment/12642688/HBASE-10993-v3.p= atch against trunk revision . ATTACHMENT ID: 12642688 {color:green}+1 @author{color}. The patch does not contain any @author= tags. {color:green}+1 tests included{color}. The patch appears to include 8 = new or modified tests. {color:green}+1 javadoc{color}. The javadoc tool did not generate any = warning messages. {color:green}+1 javac{color}. The applied patch does not increase the = total number of javac compiler warnings. {color:green}+1 findbugs{color}. The patch does not introduce any new = Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not incre= ase the total number of release audit warnings. {color:green}+1 lineLengths{color}. The patch does not introduce lines= longer than 100 {color:green}+1 site{color}. The mvn site goal succeeds with this patch. {color:red}-1 core tests{color}. The patch failed these unit tests: org.apache.hadoop.hbase.util.TestBoundedPriorityBloc= kingQueue Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/9436//tes= tReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9436= //artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9436= //artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9436= //artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9436= //artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.= html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9436= //artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9436= //artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.htm= l Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9436= //artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9436= //artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9436= //artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.h= tml Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/9436//c= onsole This message is automatically generated. > Deprioritize long-running scanners > ---------------------------------- > > Key: HBASE-10993 > URL: https://issues.apache.org/jira/browse/HBASE-10993 > Project: HBase > Issue Type: Sub-task > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Priority: Minor > Fix For: 0.99.0 > > Attachments: HBASE-10993-v0.patch, HBASE-10993-v1.patch, HBASE-10= 993-v2.patch, HBASE-10993-v3.patch > > > 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 wan= t to prioritize the user-queries. > Without changing too much code, and not having the user giving hints, we = can add a =E2=80=9Cvtime=E2=80=9D 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 requ= est lives the less priority it gets. -- This message was sent by Atlassian JIRA (v6.2#6252)