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

HDFS streams should not throw exceptions when closed twice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.19.1, 0.20.0, 0.21.0
    • 0.19.1
    • fs, fs/s3
    • None
    • all

    • 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_v1.patch
          11 kB
          Enis Soztutar
        2. closehdfsstream_v2.patch
          11 kB
          Enis Soztutar
        3. closehdfsstream_v3.patch
          5 kB
          Enis Soztutar

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: