Hadoop Common
  1. Hadoop Common
  2. HADOOP-8861

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development