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

Support for querying outputstream capabilities

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate 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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment