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 A0A5C9B88 for ; Mon, 5 Mar 2012 12:09:20 +0000 (UTC) Received: (qmail 76257 invoked by uid 500); 5 Mar 2012 12:09:20 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 76210 invoked by uid 500); 5 Mar 2012 12:09:20 -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 76196 invoked by uid 99); 5 Mar 2012 12:09:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 12:09:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 12:09:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 023F38EC0 for ; Mon, 5 Mar 2012 12:08:57 +0000 (UTC) Date: Mon, 5 Mar 2012 12:08:57 +0000 (UTC) From: "Anoop Sam John (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <873703083.22059.1330949337010.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <543143926.13414.1330716117785.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5512) Add support for INCLUDE_AND_SEEK_USING_HINT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222290#comment-13222290 ] Anoop Sam John commented on HBASE-5512: --------------------------------------- @Lars As u said under HBASE_2038 I dont think we can use this way to do the IHBase work :( Mainly how the filter can return INCLUDE_AND_SEEK.. WHat we wanted ideally is at the row level say include this row and seek to next row. But any way at row level the filter contains boolean return either include the row or not. I feel making an attempt to support the seek() reseek() at the region scanner level.. > Add support for INCLUDE_AND_SEEK_USING_HINT > ------------------------------------------- > > Key: HBASE-5512 > URL: https://issues.apache.org/jira/browse/HBASE-5512 > Project: HBase > Issue Type: Improvement > Reporter: Zhihong Yu > Assignee: Lars Hofhansl > Attachments: 5512-v2.txt, 5512.txt > > > This came up from HBASE-2038 > From Anoop: > - What we wanted from the filter is include a row and then seek to the next row which we are interested in. I cant see such a facility with our Filter right now. Correct me if I am wrong. So suppose we already seeked to one row and this need to be included in the result, then the Filter should return INCLUDE. Then when the next next() call happens, then only we can return a SEEK_USING_HINT. So one extra row reading is needed. This might create even one unwanted HFileBlock fetch (who knows). > Can we add reseek() at higher level? > From Lars: > Yep, for that we'd need to add INCLUDE_AND_SEEK_USING_HINT (similar to the INCLUDE_AND_SEEK_NEXT_ROW that we already have). Shouldn't be hard to add, I'm happy to do that, if that's the route we want to go with this. -- 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