Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8DCE9200B2A for ; Sat, 11 Jun 2016 01:38:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8C66A160A38; Fri, 10 Jun 2016 23:38:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D58EF160A5A for ; Sat, 11 Jun 2016 01:38:22 +0200 (CEST) Received: (qmail 43863 invoked by uid 500); 10 Jun 2016 23:38:21 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 43556 invoked by uid 99); 10 Jun 2016 23:38:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 23:38:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2FCB52C1F6E for ; Fri, 10 Jun 2016 23:38:21 +0000 (UTC) Date: Fri, 10 Jun 2016 23:38:21 +0000 (UTC) From: "Ming Ma (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13189) FairCallQueue makes callQueue larger than the configured capacity. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Jun 2016 23:38:23 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15325511#comment-15325511 ] Ming Ma commented on HADOOP-13189: ---------------------------------- Thanks Konstantin. Did you use https://issues.apache.org/jira/browse/HADOOP-10285 to change call CallQueue? bq. when all requests go only into the high priority queue one should probably switch to the default queue as FairCallQueue functionality is not utilized. This only happens at a given point of time, with FairCallQueue is useful in other times on the same NN. > FairCallQueue makes callQueue larger than the configured capacity. > ------------------------------------------------------------------ > > Key: HADOOP-13189 > URL: https://issues.apache.org/jira/browse/HADOOP-13189 > Project: Hadoop Common > Issue Type: Bug > Components: ipc > Affects Versions: 2.6.0 > Reporter: Konstantin Shvachko > Assignee: Vinitha Reddy Gankidi > Attachments: HADOOP-13189.001.patch, HADOOP-13189.002.patch, HADOOP-13189.003.patch > > > {{FairCallQueue}} divides {{callQueue}} into multiple (4 by default) sub-queues, with each sub-queue corresponding to a different level of priority. The constructor for {{FairCallQueue}} takes the same parameter {{capacity}} as the default CallQueue implementation, and allocates all its sub-queues of size {{capacity}}. With 4 levels of priority (sub-queues) by default it results in the total callQueue size 4 times larger than it should be based on the configuration. > {{capacity}} should be divided by the number of sub-queues at some place. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org