Hi,

On hbase-0.89.20100924+28 I tried to get all versions for a cell that
has 3 versions and on the shell I got:

hbase(main):014:0> get 'hbase_table_1', '498', {VERSIONS=>10}
COLUMN                                        CELL

ERROR: Failed parse of {"VERSIONS"=>10}, Hash

Here is some help for this command:
          Get row or cell contents; pass table name, row, and optionally
          a dictionary of column(s), timestamp and versions. Examples:

            hbase> get 't1', 'r1'
            hbase> get 't1', 'r1', {COLUMN => 'c1'}
            hbase> get 't1', 'r1', {COLUMN => ['c1', 'c2', 'c3']}
            hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1}
            hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1,
VERSIONS => 4}
            hbase> get 't1', 'r1', 'c1'
            hbase> get 't1', 'r1', 'c1', 'c2'
            hbase> get 't1', 'r1', ['c1', 'c2']


hbase(main):015:0> scan 'hbase_table_1', { STARTROW=>'498',
STOPROW=>'498',VERSIONS=>10}
ROW                                           COLUMN+CELL
 498                                          column=cf1:val,
timestamp=1295335912913, value=val_498
 498                                          column=cf1:val,
timestamp=1295335912913, value=val_498
 498                                          column=cf1:val,
timestamp=1295335912913, value=val_498
1 row(s) in 0.0520 seconds

hbase(main):016:0>

So the scan works but not the get. That's wrong, right?

Lars

Reply via email to