HBASE-9709: LogReplay throws NPE when no KVs to be replayed in a WALEdit

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1529247 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jeffreyz 2013-10-04 18:20:34 +00:00
parent 4bde0d30f6
commit 26ed93141d
1 changed files with 1 additions and 1 deletions

View File

@ -1478,7 +1478,7 @@ public class HLogSplitter {
}
// skip the edit
if (needSkip) continue;
if (loc == null || needSkip) continue;
if (!skippedKVs.isEmpty()) {
kvs.removeAll(skippedKVs);