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

DFSStripedOutputStream hsync/hflush should not throw UnsupportedOperationException

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      This is a clone bug of HDFS-11644 to provide a quick fix while a proper fix is being discussed and developed. The quick fix here would be to just turn DFSStripedOutputStream#hsync()/hflush() as a no-op instead of throwing UnsupportedOperationException.

        @Override
        public void hflush() {
          throw new UnsupportedOperationException();
        }
      
        @Override
        public void hsync() {
          throw new UnsupportedOperationException();
        }
      

      For more details please refer to the comments in HDFS-11644.

      Attachments

        1. HDFS-11644.01.patch
          3 kB
          Manoj Govindassamy
        2. HDFS-11718.01.patch
          3 kB
          Manoj Govindassamy

        Issue Links

        Activity

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

          People

            manojg Manoj Govindassamy
            manojg Manoj Govindassamy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment