HBASE-15379 Fake cells created in read path not implementing SettableSequenceId. (Amal Joshy)

This commit is contained in:
anoopsjohn 2016-03-13 22:05:05 +05:30
parent b6b9910e2c
commit 88ca84f685
1 changed files with 5 additions and 1 deletions

View File

@ -1653,8 +1653,12 @@ public final class CellUtil {
* These cells are used in reseeks/seeks to improve the read performance.
* They are not real cells that are returned back to the clients
*/
private static abstract class EmptyCell implements Cell {
private static abstract class EmptyCell implements Cell, SettableSequenceId {
@Override
public void setSequenceId(long seqId) {
// Fake cells don't need seqId, so leaving it as a noop.
}
@Override
public byte[] getRowArray() {
return EMPTY_BYTE_ARRAY;