Hello,

I have a problem where 'put' with timestamp does not succeed.
I did the following at the HBase shell.

(1) Do 'put' with timestamp.
      # 'scan' shows 1 row.

(2) Delete the row by 'deleteall'.
      # 'scan' says "0 row(s)".

(3) Do 'put' again by the same command line as (1).
      # 'scan' says "0 row(s)" ! Why?

(4) Increment the timestamp value by 1 and try 'put' again.
      # 'scan' still says "0 row(s)"! Why?

The command lines I actually typed are as follows and the attached
file is the output from the command lines.

scan 'test-table'
put 'test-table', 'row3', 'test-family', 'value'
scan 'test-table'
deleteall 'test-table', 'row3'
scan 'test-table'
put 'test-table', 'row3', 'test-family', 'value'
scan 'test-table'
deleteall 'test-table', 'row3'
scan 'test-table'
put 'test-table', 'row4', 'test-family', 'value', 10
scan 'test-table'
deleteall 'test-table', 'row4'
scan 'test-table'
put 'test-table', 'row4', 'test-family', 'value', 10
scan 'test-table'
put 'test-table', 'row4', 'test-family', 'value', 10
scan 'test-table'
quit

Is this behavior the HBase specification?

My cluster is built using CDH4 and the HBase version is 0.92.1-cdh4.0.0.

Could anyone give me any insight, please?

Best Regards,
Takahiko Kawasaki

Reply via email to