hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 勇胡 <yongyong...@gmail.com>
Subject How can I use shell to view multiple versions?
Date Wed, 20 Jul 2011 14:09:04 GMT

I created a table named 'score', and I issue put command twice:

put 'score','tom','course:math','1.2'
put 'score','tom','course:math','1.3'

Now the cell has two data versions, I want to read these two versions, so I
issue a command,

get 'score', 'tom', {COLUMN=>'course:math',VERSION=>2}

But I can only get the newest data version 1.3, if I also want to see the
previous value, how can I do this?

By the way, I didn't change the version value when I created the table.



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