HBASE-1856 HBASE-1765 broke MapReduce when using Result.list()
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@817762 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f90645dd77
commit
0d2289f54d
|
@ -38,6 +38,8 @@ Release 0.21.0 - Unreleased
|
|||
messages to pass master, even if we failed to deliver them
|
||||
HBASE-1815 HBaseClient can get stuck in an infinite loop while attempting
|
||||
to contact a failed regionserver
|
||||
HBASE-1856 HBASE-1765 broke MapReduce when using Result.list()
|
||||
(Lars George via Stack)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
|
|
@ -398,6 +398,7 @@ public class Result implements Writable {
|
|||
throws IOException {
|
||||
familyMap = null;
|
||||
row = null;
|
||||
kvs = null;
|
||||
int totalBuffer = in.readInt();
|
||||
if(totalBuffer == 0) {
|
||||
bytes = null;
|
||||
|
@ -410,7 +411,7 @@ public class Result implements Writable {
|
|||
|
||||
//Create KeyValue[] when needed
|
||||
private void readFields() {
|
||||
if(bytes == null) {
|
||||
if (bytes == null) {
|
||||
this.kvs = new KeyValue[0];
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue