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. HDFS-11644.01.patch
          3 kB
          Manoj Govindassamy
        2. HDFS-11644.02.patch
          17 kB
          Manoj Govindassamy
        3. HDFS-11644.03.patch
          14 kB
          Manoj Govindassamy
        4. HDFS-11644-branch-2.01.patch
          10 kB
          Manoj Govindassamy
        5. HADOOP-16109-branch-3.1-003.patch
          15 kB
          Steve Loughran

        Issue Links

        Activity

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

          People

            manojg Manoj Govindassamy
            andrew.wang Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment