hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hardik Pandya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6290) File is not closed in OfflineImageViewerPB#run()
Date Fri, 02 May 2014 18:58:16 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13988095#comment-13988095
] 

Hardik Pandya commented on HDFS-6290:
-------------------------------------

cool, thanks!

> File is not closed in OfflineImageViewerPB#run()
> ------------------------------------------------
>
>                 Key: HDFS-6290
>                 URL: https://issues.apache.org/jira/browse/HDFS-6290
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>       } else if (processor.equals("XML")) {
>         new PBImageXmlWriter(conf, out).visit(new RandomAccessFile(inputFile,
>             "r"));
> {code}
> The RandomAccessFile instance should be closed before the method returns.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message