-
- Downloads
[SPARK-9827] [SQL] fix fd leak in UnsafeRowSerializer
Currently, UnsafeRowSerializer does not close the InputStream, will cause fd leak if the InputStream has an open fd in it. TODO: the fd could still be leaked, if any items in the stream is not consumed. Currently it replies on GC to close the fd in this case. cc JoshRosen Author: Davies Liu <davies@databricks.com> Closes #8116 from davies/fd_leak.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/UnsafeRowSerializer.scala 2 additions, 0 deletions.../org/apache/spark/sql/execution/UnsafeRowSerializer.scala
- sql/core/src/test/scala/org/apache/spark/sql/execution/UnsafeRowSerializerSuite.scala 28 additions, 3 deletions...apache/spark/sql/execution/UnsafeRowSerializerSuite.scala
Please register or sign in to comment