Hi,
i am trying to create and inserting data to hbase table. when i wanted to
change the maximum number of versions of row in hbase from default to 1, it
worked well, i.e whenever i add new row to table, the latest value is seen.
But when i tried to change using hbase shell like the following i couldn't
increase the number of versions to be stored to 4.

hbase shell command:      i disabled the table---> disable 'T'

alter 'T', {NAME => 'F', VERSIONS => 4}

enable 'T'

now i scanned the table after inserting the same row with different values
3 times. Still i could see only the last inserted row only..  i tried even
changing the maximum number of versions using
    HColumnDescriptor hcd= new HColumnDescriptor("F");
   F.setMaxVersions(4);


Still i could not change the number of versions to be maintained for any
roe , even for any newly created tables also..

Please can anybody help..?



-- 
*Regards*
*
Vamshi Krishna
*

Reply via email to