Hadoop Common
  1. Hadoop Common
  2. HADOOP-4760

HDFS streams should not throw exceptions when closed twice

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      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

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development