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 BFB56D405 for ; Sun, 29 Jul 2012 13:50:41 +0000 (UTC) Received: (qmail 20654 invoked by uid 500); 29 Jul 2012 13:50:41 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 20370 invoked by uid 500); 29 Jul 2012 13:50:36 -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 20334 invoked by uid 99); 29 Jul 2012 13:50:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jul 2012 13:50:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 0A2EF142823 for ; Sun, 29 Jul 2012 13:50:35 +0000 (UTC) Date: Sun, 29 Jul 2012 13:50:35 +0000 (UTC) From: "Zhihong Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <1727286936.114273.1343569835043.JavaMail.jiratomcat@issues-vm> In-Reply-To: <844275191.114210.1343566235782.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6471) Performance regression caused by HBASE-4054 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-6471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424546#comment-13424546 ] Zhihong Ted Yu commented on HBASE-6471: --------------------------------------- +1 on completing HBASE-5728. > Performance regression caused by HBASE-4054 > ------------------------------------------- > > Key: HBASE-6471 > URL: https://issues.apache.org/jira/browse/HBASE-6471 > Project: HBase > Issue Type: Bug > Components: client > Affects Versions: 0.92.0 > Reporter: Lars George > > The patch in HBASE-4054 switches the PooledHTable to extend HTable as opposed to implement HTableInterface. > Since HTable does not have an empty constructor, the patch added a call to the super() constructor, which though does trigger the ZooKeeper and META scan, causing a considerable delay. > With multiple threads using the pool in parallel, the first thread is holding up all the subsequent ones, in effect it negates the whole reason we have a HTable pool. > We should complete HBASE-5728, or alternatively add a protected, empty constructor the HTable. I am +1 for the former. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira