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
|
messages to pass master, even if we failed to deliver them
|
||||||
HBASE-1815 HBaseClient can get stuck in an infinite loop while attempting
|
HBASE-1815 HBaseClient can get stuck in an infinite loop while attempting
|
||||||
to contact a failed regionserver
|
to contact a failed regionserver
|
||||||
|
HBASE-1856 HBASE-1765 broke MapReduce when using Result.list()
|
||||||
|
(Lars George via Stack)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-1760 Cleanup TODOs in HTable
|
HBASE-1760 Cleanup TODOs in HTable
|
||||||
|
|
|
@ -398,6 +398,7 @@ public class Result implements Writable {
|
||||||
throws IOException {
|
throws IOException {
|
||||||
familyMap = null;
|
familyMap = null;
|
||||||
row = null;
|
row = null;
|
||||||
|
kvs = null;
|
||||||
int totalBuffer = in.readInt();
|
int totalBuffer = in.readInt();
|
||||||
if(totalBuffer == 0) {
|
if(totalBuffer == 0) {
|
||||||
bytes = null;
|
bytes = null;
|
||||||
|
@ -410,7 +411,7 @@ public class Result implements Writable {
|
||||||
|
|
||||||
//Create KeyValue[] when needed
|
//Create KeyValue[] when needed
|
||||||
private void readFields() {
|
private void readFields() {
|
||||||
if(bytes == null) {
|
if (bytes == null) {
|
||||||
this.kvs = new KeyValue[0];
|
this.kvs = new KeyValue[0];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue