Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4760

HDFS streams should not throw exceptions when closed twice

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.19.1, 0.20.0, 0.21.0
    • Fix Version/s: 0.19.1
    • Component/s: fs, fs/s3
    • Labels:
      None
    • Environment:

      all

    • Hadoop Flags:
      Reviewed

      Description

      When adding an InputStream via addResource(InputStream) to a Configuration instance, if the stream is a HDFS stream the loadResource(..) method fails with IOException indicating that the stream has already been closed.

        Attachments

        1. closehdfsstream_v3.patch
          5 kB
          Enis Soztutar
        2. closehdfsstream_v2.patch
          11 kB
          Enis Soztutar
        3. closehdfsstream_v1.patch
          11 kB
          Enis Soztutar

          Issue Links

            Activity

              People

              • Assignee:
                enis Enis Soztutar
                Reporter:
                tucu00 Alejandro Abdelnur
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: