hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: timestamp/ttl of a cell
Date Wed, 25 Nov 2015 14:04:54 GMT
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 <shushantarora09@gmail.com>:

> 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 <shushantarora09@gmail.com>:
> >
> > > 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.
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message