Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 297C09AA5 for ; Fri, 24 Feb 2012 17:12:28 +0000 (UTC) Received: (qmail 1854 invoked by uid 500); 24 Feb 2012 17:12:26 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 1785 invoked by uid 500); 24 Feb 2012 17:12:26 -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 1775 invoked by uid 99); 24 Feb 2012 17:12:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 17:12:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bryanck@gmail.com designates 209.85.210.41 as permitted sender) Received: from [209.85.210.41] (HELO mail-pz0-f41.google.com) (209.85.210.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2012 17:12:18 +0000 Received: by dadv6 with SMTP id v6so3246050dad.14 for ; Fri, 24 Feb 2012 09:11:58 -0800 (PST) Received-SPF: pass (google.com: domain of bryanck@gmail.com designates 10.68.135.34 as permitted sender) client-ip=10.68.135.34; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bryanck@gmail.com designates 10.68.135.34 as permitted sender) smtp.mail=bryanck@gmail.com; dkim=pass header.i=bryanck@gmail.com Received: from mr.google.com ([10.68.135.34]) by 10.68.135.34 with SMTP id pp2mr9841494pbb.106.1330103518209 (num_hops = 1); Fri, 24 Feb 2012 09:11:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=PS4kHq4hcP7mS4OOzwEZTPtJGzUlNgJS332tndHepjk=; b=SfosN1VawtvA3fMQ129pvkvSxt4hOzIsOQnS4eFLoVBplHHesXDeSp5LHadPR2Fc1J +H7ilDjJ3Y2Ydjw52eww9WWNzLR4+Y5f/CyHAbTGbQuXxWSFfLpGbqM67PZnESe6fOdW 5xv2Kc0diGqHSooZctcZl5CGvKw3W3SqXst6A= Received: by 10.68.135.34 with SMTP id pp2mr8150834pbb.106.1330103518139; Fri, 24 Feb 2012 09:11:58 -0800 (PST) Received: from [172.16.194.98] (c-67-180-232-12.hsd1.ca.comcast.net. [67.180.232.12]) by mx.google.com with ESMTPS id 2sm4802517pbw.57.2012.02.24.09.11.55 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Feb 2012 09:11:56 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: Created date field From: Bryan Keller In-Reply-To: Date: Fri, 24 Feb 2012 09:11:51 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <53882DD0-FDB5-48CA-9CB1-263502F4C600@gmail.com> References: <823241BF-215E-4338-9358-E0A100703C10@gmail.com> To: user@hbase.apache.org X-Mailer: Apple Mail (2.1257) I'm thinking I could implement a coprocessor to do this. I'm still on = 0.90.4 ATM, but it's a thought going forward. I haven't played around = with coprocessors yet though so not sure if this is feasible. On Feb 23, 2012, at 4:05 PM, T Vinod Gupta wrote: > do you really care about each update? you can store the created_at = field as > a column and use that to decide whether to put or not. the other = option is > to do a get with a time range less than the value you are looking for. = if > you get something back, then you don't need to go any further. >=20 > thanks >=20 > On Thu, Feb 23, 2012 at 3:57 PM, Bryan Keller = wrote: >=20 >> Does anyone know of any strategies for tracking the created date of a = row >> or column, without a checkAndPut() type of solution? I am trying to = avoid >> reading from the table to see if the value already exists before = putting. >> One thought I had was to store a timestamp of every update as a = column, but >> that might bloat my rows.