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

HDFS Output streams should not accept writes after being closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.5-alpha
    • 2.1.0-beta
    • hdfs-client
    • None
    • Reviewed

    Description

      Currently if one closes an OutputStream obtained from FileSystem#create and then calls write(...) on that closed stream, the write will appear to succeed without error though no data will be written to HDFS. A subsequent call to close will also silently appear to succeed. We should make it so that attempts to write to closed streams fails fast.

      Attachments

        1. HDFS-4906.patch
          8 kB
          Aaron Myers
        2. HDFS-4906.patch
          10 kB
          Aaron Myers
        3. HDFS-4906.patch
          11 kB
          Aaron Myers
        4. HDFS-4906.patch
          11 kB
          Aaron Myers
        5. HDFS-4906.patch
          12 kB
          Aaron Myers

        Activity

          People

            atm Aaron Myers
            atm Aaron Myers
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: