HBASE-15475 Addendum

This commit is contained in:
Elliott Clark 2016-03-24 09:11:19 -07:00
parent 52fd70500e
commit e71bc71c84
1 changed files with 2 additions and 2 deletions

View File

@ -411,13 +411,13 @@ public class TestHFile {
Cell left = CellUtil.createCell(Bytes.toBytes("a"), Cell left = CellUtil.createCell(Bytes.toBytes("a"),
Bytes.toBytes("a"), Bytes.toBytes("a"),
Bytes.toBytes("a"), Bytes.toBytes("a"),
9, 11,
KeyValue.Type.Maximum.getCode(), KeyValue.Type.Maximum.getCode(),
HConstants.EMPTY_BYTE_ARRAY); HConstants.EMPTY_BYTE_ARRAY);
Cell right = CellUtil.createCell(Bytes.toBytes("a"), Cell right = CellUtil.createCell(Bytes.toBytes("a"),
Bytes.toBytes("a"), Bytes.toBytes("a"),
Bytes.toBytes("a"), Bytes.toBytes("a"),
11, 9,
KeyValue.Type.Maximum.getCode(), KeyValue.Type.Maximum.getCode(),
HConstants.EMPTY_BYTE_ARRAY); HConstants.EMPTY_BYTE_ARRAY);
Cell mid = HFileWriterImpl.getMidpoint(CellComparator.COMPARATOR, left, right); Cell mid = HFileWriterImpl.getMidpoint(CellComparator.COMPARATOR, left, right);