Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4750 Support NFSv3 interface to HDFS
  3. HDFS-5519

COMMIT handler should update the commit status after sync

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: nfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The problem was found during test with Windows NFS client.

      After hsync, OpenFileCtx#checkCommit() should update COMMIT_DO_SYNC to COMMIT_FINISHED. Otherwise, the caller could throw run time exception since COMMIT_DO_SYNC is not expected.

        Attachments

        1. HDFS-5519.patch
          0.9 kB
          Brandon Li
        2. HDFS-5519.001.patch
          3 kB
          Brandon Li

          Activity

            People

            • Assignee:
              brandonli Brandon Li
              Reporter:
              brandonli Brandon Li
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: