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 <[email protected]>:

> Thanks!
> Whats the syntax to set it in shell and java ?
>
> On Wed, Nov 25, 2015 at 6:05 PM, Jean-Marc Spaggiari <
> [email protected]> wrote:
>
> > This? HBASE-10560
> >
> > 2015-11-25 6:45 GMT-05:00 Shushant Arora <[email protected]>:
> >
> > > 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.
> > >
> >
>

Reply via email to