HBASE-1529 familyMap not invalidated when Result is (re)read as a Writable

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@785066 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2009-06-16 04:11:44 +00:00
parent 6b1aec5d6f
commit 24708bb23f
2 changed files with 5 additions and 2 deletions

View File

@ -21,8 +21,8 @@ Release 0.20.0 - Unreleased
HBASE-1411 Remove HLogEdit. HBASE-1411 Remove HLogEdit.
HBASE-1357 If one sets the hbase.master to 0.0.0.0 non local regionservers HBASE-1357 If one sets the hbase.master to 0.0.0.0 non local regionservers
can't find the master can't find the master
HBASE-1304 New client server implementation of how gets and puts are handled HBASE-1304 New client server implementation of how gets and puts are
(holstad, jgray, rawson, stack) handled (holstad, jgray, rawson, stack)
BUG FIXES BUG FIXES
HBASE-1140 "ant clean test" fails (Nitay Joffe via Stack) HBASE-1140 "ant clean test" fails (Nitay Joffe via Stack)
@ -190,6 +190,8 @@ Release 0.20.0 - Unreleased
(jgray via stack) (jgray via stack)
HBASE-1480 compaction file not cleaned up after a crash/OOME server HBASE-1480 compaction file not cleaned up after a crash/OOME server
(Evgeny Ryabitskiy via Stack) (Evgeny Ryabitskiy via Stack)
HBASE-1529 familyMap not invalidated when a Result is (re)read as a
Writable
IMPROVEMENTS IMPROVEMENTS
HBASE-1089 Add count of regions on filesystem to master UI; add percentage HBASE-1089 Add count of regions on filesystem to master UI; add percentage

View File

@ -389,6 +389,7 @@ public class Result implements Writable {
//Writable //Writable
public void readFields(final DataInput in) public void readFields(final DataInput in)
throws IOException { throws IOException {
familyMap = null;
int numKeys = in.readInt(); int numKeys = in.readInt();
this.kvs = new KeyValue[numKeys]; this.kvs = new KeyValue[numKeys];
if(numKeys == 0) { if(numKeys == 0) {