Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5952B200CB5 for ; Wed, 12 Jul 2017 17:58:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 57E1C1681B2; Wed, 12 Jul 2017 15:58:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A0561168011 for ; Wed, 12 Jul 2017 17:58:13 +0200 (CEST) Received: (qmail 58867 invoked by uid 500); 12 Jul 2017 15:58:10 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 56561 invoked by uid 99); 12 Jul 2017 15:58:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2017 15:58:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 677EF195331 for ; Wed, 12 Jul 2017 15:58:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6lIrtB0f4R4U for ; Wed, 12 Jul 2017 15:58:02 +0000 (UTC) Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id F09A360DFD for ; Wed, 12 Jul 2017 15:57:12 +0000 (UTC) Received: by mail-qk0-f178.google.com with SMTP id 16so28161689qkg.2 for ; Wed, 12 Jul 2017 08:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ls5q0uQNWQXROA1TNC3P5OIPMMScteVzl8wzRt+n+X8=; b=UMTDrYgpmw2BxBlf7LeCSq249stIIqvLv5FfFIMWdAa/dLTwT2AAiV9gH4moKhJX/2 PPgfVdPZ0qveq43rm+bN/9z9YLIOflP/SDAY/k7usGVVCyqcljl4B+hKdoayhO+nDlPM JhP9o+Hvr+jQ8rz15FPmVt4oJa7izlQmWq6BGkuj1LVaEGixn5Pwzg7bwvQPjqN/pDdp HtF0ZikmUCQZbyjCeIblndcyhhTlsNFEeYsha1VS7HC7pUcsco9f3bRObwz2QaFy5fmR /fGBggwWfccyRG0XkE2wHqI8mNY3zs+0cKycytrGa2Qw4JsoxQju37GnZQ/mnUQmCKcZ JJVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ls5q0uQNWQXROA1TNC3P5OIPMMScteVzl8wzRt+n+X8=; b=Ghvot+/SdJgnr0UF+RIY19frX/8tPN9glX4c3BddRObJVdG9Dna9ni9EHTFR53zNnW phjb96k8oypQ1cfhmbkio4RdbQN1foFkjzsx2QaHe0m4p4ASIMLjKSa1I6Kl2MBqtAWx 6k2fISuKDmFmkbdEU5Q8wz51Kvspe0zv//MP5vDFaxnEBnNp7I5kzDTToiKtveC7hNFX 8PQ07UBI3Tq7izkBNfPqoDr9EPfujeCDmEDY9EPVfM/OQnIU89stMHbUnh5uzNou40E2 E8Izpg6CEzjzaXqtCTrewYubfYJ+01v/Yk45QTGsK9DDANz08V+UhH2mbaLIv34zVGlv IHHQ== X-Gm-Message-State: AIVw110yBUWkNJ7AWBoZ/8igQMmHLBIPEZbCFNkETQnt1HcizIAIB8NZ jyjA2FznspUYvj/b2cyTjJFEZXKZKA== X-Received: by 10.55.95.129 with SMTP id t123mr6778342qkb.119.1499875026127; Wed, 12 Jul 2017 08:57:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.63.93 with HTTP; Wed, 12 Jul 2017 08:57:05 -0700 (PDT) In-Reply-To: References: From: Veerraju Tadimeti Date: Wed, 12 Jul 2017 10:57:05 -0500 Message-ID: Subject: Re: Filters with TimeRange (should get executed only in regions matching TimeRange) To: user@hbase.apache.org Content-Type: multipart/alternative; boundary="94eb2c05529623d1fc055420de8c" archived-at: Wed, 12 Jul 2017 15:58:14 -0000 --94eb2c05529623d1fc055420de8c Content-Type: text/plain; charset="UTF-8" If i use scan.setTimeRange, i get only updated cells in the timeRange but not all the cells of the row. I want all the cells to in the Result. Thanks, Raju, (972)273-0155. On Wed, Jul 12, 2017 at 10:22 AM, Ted Yu wrote: > You may know this method: > > Scan#setTimeRange(long minStamp, long maxStamp) > > Please take a look at its javadoc > > You can see how the time range is used, e.g., by > StoreFileScanner#shouldUseScanner() > to narrow the search. > > FYI > > On Wed, Jul 12, 2017 at 8:04 AM, Veerraju Tadimeti > wrote: > > > Rowkey is (hiphen seprated hashed primary keys 1-0000-xxxx-aaa-bbbb-cccc) > > . I believe Hbase takes care of Rowkey (startRow and stopRow) during > > scan. I want to get rid of regions with unwanted timerange. In filter, I > > am basically returning eitire cells (complete ROW) instead of updated > cells > > in that region. > > > > My Story is to get the all rows ( with all cells : old cells and updated > > cells in that timerange ) falling in that timerange and key range and > also > > with scan Raw true. > > > > Thanks, > > Raju, > > (972)273-0155. > > > > On Tue, Jul 11, 2017 at 10:13 PM, Ted Yu wrote: > > > > > Can you tell us more about your row key design ? > > > > > > Thanks > > > > > > On Tue, Jul 11, 2017 at 3:03 PM, Veerraju Tadimeti > > > wrote: > > > > > > > hi, > > > > > > > > If I implement a filter, it does full range scan. Is there a way to > > > > implement a Filter ( with TimeRange, startRow and stopRow ) without > > > doing > > > > Full range scan. > > > > > > > > Basically, if we pass TimeRange to scan, it wont do Full range > scan. I > > > > want write a filter to get executed only in the regions which fall > > under > > > > TimeRange. > > > > > > > > Thank you in advance. > > > > > > > > > > > > Thanks, > > > > Raju, > > > > (972)273-0155. > > > > > > > > > > --94eb2c05529623d1fc055420de8c--