Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6290

File is not closed in OfflineImageViewerPB#run()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • tools
    • None

    Description

            } else if (processor.equals("XML")) {
              new PBImageXmlWriter(conf, out).visit(new RandomAccessFile(inputFile,
                  "r"));
      

      The RandomAccessFile instance should be closed before the method returns.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: