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

DFSTestUtil.appendFile() should close the output stream on completion.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.3-alpha
    • None
    • test

    Description

      DFSTestUtil.appendFile() opens an output stream to write to a file but never closes it.
      This was fixed for DFSTestUtil.createFile() on trunk by HDFS-3995. The same should be done for appendFile().
      On branch 2 both createFile() and appendFile() should be changed to close the respective output streams.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zero45 Plamen Jeliazkov
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment