Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
These tests are failing because when we set the timestamp in Indexer.preBatchMutateWithExceptions we call KeyValueUtil.ensureKeyValues on the list of cells and then call KeyValue.getTimestampOffset
Pre 2.0 the cells objects are NoTagsKeyValue (which extend KeyValue). In 2.0 they are NoTagsByteBufferKeyValue (which doesn't extend KeyValue) so KeyValueUtil.ensureKeyValues returns a new list of objects on which we set the timestamp.
The fix us to use CellUtil.setTimestamp to the set the timestamp directly on the cell.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-22148 Provide an alternative to CellUtil.setTimestamp
- Resolved