[ https://issues.apache.org/jira/browse/HDFS-6290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14628554#comment-14628554 ]
Akira AJISAKA commented on HDFS-6290: ------------------------------------- Hi [~hapandya], what's going on this issue? I'd like to take it over. > 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 > Components: tools > 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.3.4#6332)