You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/02/23 17:35:44 UTC
[jira] [Updated] (FLINK-5629) Unclosed RandomAccessFile in
StaticFileServerHandler#respondAsLeader()
[ https://issues.apache.org/jira/browse/FLINK-5629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated FLINK-5629:
--------------------------
Description:
{code}
final RandomAccessFile raf;
try {
raf = new RandomAccessFile(file, "r");
...
long fileLength = raf.length();
{code}
The RandomAccessFile should be closed upon return from method.
was:
{code}
final RandomAccessFile raf;
try {
raf = new RandomAccessFile(file, "r");
...
long fileLength = raf.length();
{code}
The RandomAccessFile should be closed upon return from method.
> Unclosed RandomAccessFile in StaticFileServerHandler#respondAsLeader()
> ----------------------------------------------------------------------
>
> Key: FLINK-5629
> URL: https://issues.apache.org/jira/browse/FLINK-5629
> Project: Flink
> Issue Type: Bug
> Components: Webfrontend
> Reporter: Ted Yu
> Priority: Minor
>
> {code}
> final RandomAccessFile raf;
> try {
> raf = new RandomAccessFile(file, "r");
> ...
> long fileLength = raf.length();
> {code}
> The RandomAccessFile should be closed upon return from method.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)