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

NFS may only do partial commit due to a race between COMMIT and write

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • nfs
    • None
    • Reviewed

    Description

      The requested range may not be committed when the following happens:
      1. the last pending write is removed from the queue to write to hdfs
      2. a commit request arrives, NFS sees there is not pending write, and it will do a sync
      3. this sync request could flush only part of the last write to hdfs
      4. if a file read happens immediately after the above steps, the user may not see all the data.

      Attachments

        1. HDFS-7387.001.patch
          16 kB
          Brandon Li
        2. HDFS-7387.002.patch
          16 kB
          Brandon Li

        Activity

          People

            brandonli Brandon Li
            brandonli Brandon Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: