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

Support for querying outputstream capabilities

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

    Details

      Description

      FSDataOutputStream#hsync checks if a stream implements Syncable, and if so, calls hsync. Otherwise, it just calls flush. This is used, for instance, by YARN's FileSystemTimelineWriter.

      DFSStripedOutputStream extends DFSOutputStream, which implements Syncable. However, DFSStripedOS throws a runtime exception when the Syncable methods are called.

      We should refactor the inheritance structure so DFSStripedOS does not implement Syncable.

        Attachments

        1. HADOOP-16109-branch-3.1-003.patch
          15 kB
          Steve Loughran
        2. HDFS-11644.01.patch
          3 kB
          Manoj Govindassamy
        3. HDFS-11644.02.patch
          17 kB
          Manoj Govindassamy
        4. HDFS-11644.03.patch
          14 kB
          Manoj Govindassamy
        5. HDFS-11644-branch-2.01.patch
          10 kB
          Manoj Govindassamy

        Issue Links

          Activity

            People

            • Assignee:
              manojg Manoj Govindassamy
              Reporter:
              andrew.wang Andrew Wang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment