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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.2.0
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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.patch
          0.5 kB
          Amareshwari Sriramadasu
        2. HADOOP-8861-2.patch
          2 kB
          Amareshwari Sriramadasu

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: