Hello all,
We had faced with strange situation: table has rows with Long.MAX_VALUE 
timestamp.
These rows impossible to delete, because DELETE mutation uses 
System.currentTimeMillis() timestamp.
Is there any way to delete these rows?
We use HBase-1.4.10

Example:

hbase(main):037:0> scan 'TRACET', { ROWPREFIXFILTER => "\x0439d58wj434dd", 
RAW=>true, VERSIONS=>10}
ROW                                                          COLUMN+CELL
 \x0439d58wj434dd                                   column=d:_0, 
timestamp=9223372036854775807, value=x


hbase(main):045:0* delete 'TRACET', "\x0439d58wj434dd", "d:_0"
0 row(s) in 0.0120 seconds

hbase(main):046:0> scan 'TRACET', { ROWPREFIXFILTER => "\x0439d58wj434dd", 
RAW=>true, VERSIONS=>10}
ROW                                                          COLUMN+CELL
 \x0439d58wj434dd                                   column=d:_0, 
timestamp=9223372036854775807, value=x
 \x0439d58wj434dd                                   column=d:_0, 
timestamp=1588146570005, type=Delete


hbase(main):047:0> delete 'TRACET', "\x0439d58wj434dd", "d:_0", 
9223372036854775807
0 row(s) in 0.0110 seconds

hbase(main):048:0> scan 'TRACET', { ROWPREFIXFILTER => "\x0439d58wj434dd", 
RAW=>true, VERSIONS=>10}
ROW                                                          COLUMN+CELL
 \x0439d58wj434dd                                   column=d:_0, 
timestamp=9223372036854775807, value=x
 \x0439d58wj434dd                                   column=d:_0, 
timestamp=1588146678086, type=Delete
 \x0439d58wj434dd                                   column=d:_0, 
timestamp=1588146570005, type=Delete



Reply via email to