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

DFSTestUtil.readFileBuffer opens extra FSDataInputStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.7.0
    • None
    • None
    • Reviewed

    Description

      DFSTestUtil.readFileBuffer() calls FileSystem.open() twice.
      Once just under the try statement, and once inside the IOUtils.copyBytes() call.

      Attachments

        1. HDFS-7315.patch
          0.7 kB
          Plamen Jeliazkov

        Activity

          People

            zero45 Plamen Jeliazkov
            zero45 Plamen Jeliazkov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: