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 20A0A186CD for ; Wed, 23 Dec 2015 06:42:47 +0000 (UTC) Received: (qmail 69745 invoked by uid 500); 23 Dec 2015 06:42:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 69675 invoked by uid 500); 23 Dec 2015 06:42:46 -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 69462 invoked by uid 99); 23 Dec 2015 06:42:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2015 06:42:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9C9902C1F55 for ; Wed, 23 Dec 2015 06:42:46 +0000 (UTC) Date: Wed, 23 Dec 2015 06:42:46 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15027) Refactor the way the CompactedHFileDischarger threads are created MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-15027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-15027: ------------------------------------------- Attachment: HBASE-15027_2.patch Updated patch since the last QA run failed due to unable to create native thread issue. > Refactor the way the CompactedHFileDischarger threads are created > ----------------------------------------------------------------- > > Key: HBASE-15027 > URL: https://issues.apache.org/jira/browse/HBASE-15027 > Project: HBase > Issue Type: Bug > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Fix For: 2.0.0 > > Attachments: HBASE-15027.patch, HBASE-15027_1.patch, HBASE-15027_2.patch > > > As per suggestion given over in HBASE-14970, if we need to create a single thread pool service for the CompactionHFileDischarger we need to create an exectuor service in the RegionServer level and create discharger handler threads (Event handlers) and pass the Event to the new Exectuor service that we create for the compaction hfiles discharger. What should be the default number of threads here? If a HRS holds 100 of regions - will 10 threads be enough? This issue will try to resolve this with tests and discussions and suitable patch will be updated in HBASE-14970 for branch-1 once this is committed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)