GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/3678
[FLINK-5629] [runtime-web] Close RAF in FileServerHandlers when exception
occurs
This PR makes sure that the RandomAccessFile opened by FileServerhandlers
are closed if an exception occurs after opening it. If no exception occurs
`respondWithFile` we still rely on netty to properly close the file.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 5629_raf_close
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3678.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3678
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---