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

FSDataOutputStream.sync should call flush() if the underlying wrapped stream is not Syncable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.3
    • 1.2.0
    • fs
    • None
    • Reviewed

    Description

      Currently FSDataOutputStream.sync is a no-op if the wrapped stream is not Syncable. Instead it should call flush() if the wrapped stream is not syncable.

      This behavior is already present in trunk, but branch-1 does not have this.

      Attachments

        1. HADOOP-8861-2.patch
          2 kB
          Amareshwari Sriramadasu
        2. HADOOP-8861.patch
          0.5 kB
          Amareshwari Sriramadasu

        Issue Links

          Activity

            People

              amareshwari Amareshwari Sriramadasu
              amareshwari Amareshwari Sriramadasu
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: