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 46A65D739 for ; Thu, 20 Sep 2012 17:14:08 +0000 (UTC) Received: (qmail 10250 invoked by uid 500); 20 Sep 2012 17:14:08 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 10186 invoked by uid 500); 20 Sep 2012 17:14:08 -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 10140 invoked by uid 99); 20 Sep 2012 17:14:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2012 17:14:08 +0000 Date: Fri, 21 Sep 2012 04:14:07 +1100 (NCT) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: <86107861.103663.1348161248020.JavaMail.jiratomcat@arcas> In-Reply-To: <373390809.98268.1348077248085.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HBASE-6841) Meta prefetching is slower than doing multiple meta lookups 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-6841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459753#comment-13459753 ] Lars Hofhansl commented on HBASE-6841: -------------------------------------- ensureZookeeperTrackers only does any work when ZK was not setup already. Previously this was sprinkled all over, but did the same amount of work. That part is OK, I think (in 0.94 HConnection needs a working ZK connection to function). Just checked, HConnectionManager.execute is called all over the place (12 different places in HConnectionManager and HTable). We do some weird stuff. For example setting the prefetching is also done through execute (i.e. get a - potentially - new HConntionImplementation, call setPrefetching on it, then close it). On the face of it, this does not look like it's specific to region prefetching, but the fact that repeatedly do something with a new connection. @J-D: Did you disable this path and found faster? > Meta prefetching is slower than doing multiple meta lookups > ----------------------------------------------------------- > > Key: HBASE-6841 > URL: https://issues.apache.org/jira/browse/HBASE-6841 > Project: HBase > Issue Type: Improvement > Reporter: Jean-Daniel Cryans > Priority: Critical > Fix For: 0.94.2 > > > I got myself into a situation where I needed to truncate a massive table while it was getting hits and surprisingly the clients were not recovering. What I see in the logs is that every time we prefetch .META. we setup a new HConnection because we close it on the way out. It's awfully slow. > We should just turn it off or make it useful. jstacks coming up. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira