### What changes were proposed in this pull request? This PR aims to fix a possible memory leak in ShuffleWriter. Introduce a private abort method, which can be called to release memory when an exception occurs. ### Why are the changes needed? https://github.com/apache/celeborn/pull/2661 Call the close method in the finally block, but the close method has `shuffleClient.mapperEnd`, which is dangerous for incomplete tasks, and the data may be inaccurate. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? GA Closes #2663 from cxzl25/CELEBORN-1544-followup. Authored-by: sychen <sychen@ctrip.com> Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| common | ||
| spark-2 | ||
| spark-2-shaded | ||
| spark-3 | ||
| spark-3-columnar-shuffle | ||
| spark-3-shaded | ||