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 0CAD5E001 for ; Thu, 31 Jan 2013 14:33:15 +0000 (UTC) Received: (qmail 20161 invoked by uid 500); 31 Jan 2013 14:33:14 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 19876 invoked by uid 500); 31 Jan 2013 14:33:13 -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 19819 invoked by uid 99); 31 Jan 2013 14:33:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2013 14:33:13 +0000 Date: Thu, 31 Jan 2013 14:33:13 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7495) parallel seek in StoreScanner 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-7495?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1356= 7669#comment-13567669 ]=20 Ted Yu commented on HBASE-7495: ------------------------------- store.getHRegion() returns the region which has rsServices field. You can create a package private getter in HRegion so that RegionServerServ= ices can be accessed. =20 > parallel seek in StoreScanner > ----------------------------- > > Key: HBASE-7495 > URL: https://issues.apache.org/jira/browse/HBASE-7495 > Project: HBase > Issue Type: Bug > Components: Scanners > Affects Versions: 0.94.3, 0.96.0 > Reporter: Liang Xie > Assignee: Liang Xie > Attachments: HBASE-7495.txt, HBASE-7495.txt, HBASE-7495.txt, HBAS= E-7495-v2.txt, HBASE-7495-v3.txt, HBASE-7495-v4.txt, HBASE-7495-v4.txt, HBA= SE-7495-v5.txt, HBASE-7495-v6.txt, HBASE-7495-v7.txt > > > seems there's a potential improvable space before doing scanner.next: > {code:title=3DStoreScanner.java|borderStyle=3Dsolid} > if (explicitColumnQuery && lazySeekEnabledGlobally) { > for (KeyValueScanner scanner : scanners) { > scanner.requestSeek(matcher.getStartKey(), false, true); > } > } else { > for (KeyValueScanner scanner : scanners) { > scanner.seek(matcher.getStartKey()); > } > } > {code}=20 > we can do scanner.requestSeek or scanner.seek in parallel, instead of cur= rent serialization, to reduce latency for special case. > Any ideas on it ? I'll have a try if the comments/suggestions are positi= ve=EF=BC=9A=EF=BC=89 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira