Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: nfs
    • Labels:
      None

      Description

      Linux NFS client will issue `open(.. O_TRUNC); write()` when overwriting a file that's in nfs client cache (to not evict the inode, probably). Which will spectacularly fail on hdfs-nfs with I/O error.
      Example:
      $ cp /some/file /to/hdfs/mount/
      $ cp /some/file /to/hdfs/mount/
      I/O error

      The first write will pass if the file is not in cache, the second one will always fail.

        Attachments

        1. HDFS-9164.1.patch
          11 kB
          Constantine Peresypkin

          Issue Links

            Activity

              People

              • Assignee:
                psorcerer Constantine Peresypkin
                Reporter:
                psorcerer Constantine Peresypkin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: