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:
parent
4bde0d30f6
commit
26ed93141d
|
@ -1478,7 +1478,7 @@ public class HLogSplitter {
|
||||||
}
|
}
|
||||||
|
|
||||||
// skip the edit
|
// skip the edit
|
||||||
if (needSkip) continue;
|
if (loc == null || needSkip) continue;
|
||||||
|
|
||||||
if (!skippedKVs.isEmpty()) {
|
if (!skippedKVs.isEmpty()) {
|
||||||
kvs.removeAll(skippedKVs);
|
kvs.removeAll(skippedKVs);
|
||||||
|
|
Loading…
Reference in New Issue