Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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.