Hey,
In the shell you can ask for more versions by saying:
get 'table', 'row', {COLUMN => 'family', VERSIONS => 4}
I believe you have to specify the COLUMN (as either 'family' or
'family:qualifier') if you want to specify VERSIONS.
As for versions via the API, there is only really 2 calls:
Scan.setMaxVersions(int)
Scan.setMaxVersions()
these set either the requested versions or the max the family can
store. There is a similar call for Get.
PS: I just found 3 of your (unanswered) emails in my gmail spam
folder. Sorry if it seems like no one is home - I know many of the
hbase devs use gmail, so it's possible your email address is confusing
things.
-ryan
On Fri, Jun 18, 2010 at 5:38 PM, Sharma, Avani <[email protected]> wrote:
> How can I find out how many versions a row has on hbase shell and also see
> that data ?
>
> Also, can someone point me to any documentation on working with versions via
> the API.
>
> Thanks,
> Avani
>
>