HBASE-16624 Fix MVCC DeSerialization bug in the HFileScannerImpl
Change-Id: Ia970619ac7369d24ed432e827319dfdca16143c2 Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
56be3ac7c8
commit
8c4b09dfba
|
@ -662,7 +662,8 @@ public class HFileReaderImpl implements HFile.Reader, Configurable {
|
|||
long i = 0;
|
||||
offsetFromPos++;
|
||||
if (remaining >= Bytes.SIZEOF_INT) {
|
||||
i = blockBuffer.getIntAfterPosition(offsetFromPos);
|
||||
// The int read has to be converted to unsigned long so the & op
|
||||
i = (blockBuffer.getIntAfterPosition(offsetFromPos) & 0x00000000ffffffffL);
|
||||
remaining -= Bytes.SIZEOF_INT;
|
||||
offsetFromPos += Bytes.SIZEOF_INT;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue