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

DFSStripedOutputStream hsync/hflush should not throw UnsupportedOperationException

    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

              People

              • Assignee:
                manojg Manoj Govindassamy
                Reporter:
                manojg Manoj Govindassamy
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: