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

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

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
      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.

      Sean Busbey suggested fixing this in hadoop.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: