1
0

[HUDI-2269] Release the disk map resource for flink streaming reader (#3384)

This commit is contained in:
Danny Chan
2021-08-03 13:55:35 +08:00
committed by GitHub
parent aa857beee0
commit bec23bda50
5 changed files with 67 additions and 43 deletions

View File

@@ -256,7 +256,9 @@ public class ExternalSpillableMap<T extends Serializable, R extends Serializable
}
public void close() {
inMemoryMap.clear();
getDiskBasedMap().close();
currentInMemoryMapSize = 0L;
}
@Override