1
0

[HUDI-1358] Fix leaks in DiskBasedMap and LazyFileIterable (#2249)

This commit is contained in:
Balaji Varadarajan
2020-11-23 10:56:26 -08:00
committed by GitHub
parent 751e4ee882
commit 0ebef1c0a0
4 changed files with 52 additions and 34 deletions

View File

@@ -273,7 +273,8 @@ public class HoodieMergeHandle<T extends HoodieRecordPayload, I, K, O> extends H
insertRecordsWritten++;
}
}
keyToNewRecords.clear();
((ExternalSpillableMap) keyToNewRecords).close();
writtenRecordKeys.clear();
if (fileWriter != null) {