You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Jean-Marc Spaggiari <je...@spaggiari.org> on 2013/09/16 22:58:17 UTC

How to count the number of versions for a row from the shell?

Everything is on the title ;)

Is there a way from the shell for display the number of version for a cell?
I don't need to get the content, just want to figure if there is versions,
and how much...

Thanks,

JM

Re: How to count the number of versions for a row from the shell?

Posted by kun yan <ya...@gmail.com>.
Hi
 the KeyValue Class contain method
*getTimestamp*<https://mail.google.com/org/apache/hadoop/hbase/KeyValue.html#getTimestamp()>
() I'm not sure whether this is helpful for you

2013/9/17 Jean-Marc Spaggiari <je...@spaggiari.org>

> Everything is on the title ;)
>
> Is there a way from the shell for display the number of version for a cell?
> I don't need to get the content, just want to figure if there is versions,
> and how much...
>
> Thanks,
>
> JM
>



-- 

In the Hadoop world, I am just a novice, explore the entire Hadoop
ecosystem, I hope one day I can contribute their own code

YanBit
yankunhadoop@gmail.com