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 3B6EA182B7 for ; Wed, 25 Nov 2015 14:05:22 +0000 (UTC) Received: (qmail 77012 invoked by uid 500); 25 Nov 2015 14:05:20 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 76944 invoked by uid 500); 25 Nov 2015 14:05:20 -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 76932 invoked by uid 99); 25 Nov 2015 14:05:20 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2015 14:05:20 +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 C97AC180AC1 for ; Wed, 25 Nov 2015 14:05:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3 X-Spam-Level: *** X-Spam-Status: No, score=3 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=spaggiari-org.20150623.gappssmtp.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id P-4uzI_BA78M for ; Wed, 25 Nov 2015 14:05:14 +0000 (UTC) Received: from mail-qg0-f46.google.com (mail-qg0-f46.google.com [209.85.192.46]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 903E142AB8 for ; Wed, 25 Nov 2015 14:05:14 +0000 (UTC) Received: by qgeb1 with SMTP id b1so32755460qge.1 for ; Wed, 25 Nov 2015 06:05:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spaggiari-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=NhzcGtXudMkviIT1ksaoXHyQDWmT0Ek9wVOEV0LqXBI=; b=Lx5wno85yVuZTYy9ZpCl7u5/2NgD00x8QOskHmbfuK3fR/HI+oc/NE/spql3Rbw0Dz 3Ib08dLK7X+1zVR5/Rjzg9+slIeVFA1okSQJU0EoxFW6ckRzoYA5tcoDV0ouUuGBkmPx JzAID93yNTamr/RqERfRHLb/1qTNuTC1qhj9FVN1c3fjGPlFv+RADlIfBC2OQovNHw7X sk6P74RekIAFvrhoOGow5OhBfG/8Zq6WGFNOd6+TVH9BTDQ1BL8zwkLuEDsJdyAS4JXf iid1zbWSTu/yAWPGNjkGd8Bs4o9yussBR9jTN61PHCHj/VP8f7uT3lG86pIfmjQEVaxR zXlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=NhzcGtXudMkviIT1ksaoXHyQDWmT0Ek9wVOEV0LqXBI=; b=HrXxgJaWRZqPAHjYDAd+1OMYovYCye3L1dwy+WC58/EVya5Qo3n9A/k14p+m3QHdhZ 50JfEnmiD3vc0joqczgXPeLjmvQgSUBrOBDQAjb7cSyfHTqFsfj7Lf58szWm9jmvEjns 8I50ICR1TEHVCftBy6wu9gqWzYnW2kTbN0PGcPVfD6WZTez2rhDmjtId2qHfTdagQtBK rQqDTPoNypPVNxh7RPIz9/c9jjwI22nA5ggK7Uo2EC1J8TkR+wN7N6fJ3l8TF9JPGl8+ mau1oiVO9cFoREBLZp/6tV2F5yXdy3g812nTnd8l8qrYZoNRWhELFewXWIR7ANT3g1Cc 9UhA== X-Gm-Message-State: ALoCoQnCXKLYnymGboYsXQwfolmVOaA0O+6QiX0/xuFzHAn8RsFBovyrzD7uIzSseSZsBTmg0k9e X-Received: by 10.140.107.72 with SMTP id g66mr38832222qgf.86.1448460314198; Wed, 25 Nov 2015 06:05:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.27.131 with HTTP; Wed, 25 Nov 2015 06:04:54 -0800 (PST) In-Reply-To: References: From: Jean-Marc Spaggiari Date: Wed, 25 Nov 2015 09:04:54 -0500 Message-ID: Subject: Re: timestamp/ttl of a cell To: user Content-Type: multipart/alternative; boundary=001a113a7f2e7fd8f205255df2ed --001a113a7f2e7fd8f205255df2ed Content-Type: text/plain; charset=UTF-8 Very good question. From the shell, I'm not sure this is doable. From the java API, you will have to use Mutation.setTTL http://hbase.apache.org/book.html#ttl JMS 2015-11-25 8:40 GMT-05:00 Shushant Arora : > Thanks! > Whats the syntax to set it in shell and java ? > > On Wed, Nov 25, 2015 at 6:05 PM, Jean-Marc Spaggiari < > jean-marc@spaggiari.org> wrote: > > > This? HBASE-10560 > > > > 2015-11-25 6:45 GMT-05:00 Shushant Arora : > > > > > Hi > > > > > > Can TTL of rows be set/updated instead of complete column family? > > > or > > > Can timestamp version of a cell be decreased ? Aim is to delete some > rows > > > whose timestamp > > > is set to old values so that it matches TTL of column family if tTL of > > > row/cell cannot be specified. > > > > > > --001a113a7f2e7fd8f205255df2ed--