-
- Downloads
[SPARK-3546] InputStream of ManagedBuffer is not closed and causes running out of file descriptor
Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp> Closes #2408 from sarutak/resolve-resource-leak-issue and squashes the following commits: 074781d [Kousuke Saruta] Modified SuffleBlockFetcherIterator 5f63f67 [Kousuke Saruta] Move metrics increment logic and debug logging outside try block b37231a [Kousuke Saruta] Modified FileSegmentManagedBuffer#nioByteBuffer to check null or not before invoking channel.close bf29d4a [Kousuke Saruta] Modified FileSegment to close channel
Showing
- core/src/main/scala/org/apache/spark/network/ManagedBuffer.scala 10 additions, 2 deletions...c/main/scala/org/apache/spark/network/ManagedBuffer.scala
- core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala 1 addition, 1 deletion...rg/apache/spark/storage/ShuffleBlockFetcherIterator.scala
Please register or sign in to comment