You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/04/26 18:48:14 UTC

[jira] [Created] (HDFS-6290) File is not closed in OfflineImageViewerPB#run()

Ted Yu created HDFS-6290:
----------------------------

             Summary: 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)