Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15051

FSDataOutputStream returned by LocalFileSystem#createNonRecursive doesn't have hflush capability

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.0.0-beta1
    • None
    • fs
    • None

    Description

      See HBASE-19289 for background information.
      Here is related hbase code (fs is instance of LocalFileSystem):

          this.output = fs.createNonRecursive(path, overwritable, bufferSize, replication, blockSize,
            null);
          // TODO Be sure to add a check for hsync if this branch includes HBASE-19024
          if (!(CommonFSUtils.hasCapability(output, "hflush"))) {
            throw new StreamLacksCapabilityException("hflush");
      

      StreamCapabilities is used to poll "hflush" capability.

      busbey suggested fixing this in hadoop.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: