Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We had a bug (by customer escalation) in fuse-dfs and we provided a fix. Testing the patch was not straightforward, and we found no easy way to do that.
I file this jira for the following:
- Improve hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/doc/README with information on how to run native tests for fuse-dfs
- Describe what is hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/test/TestFuseDFS.java and how to run it.
- Resolve todos in hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/test/fuse_workload.c to add more test coverage:
// TODO: implement/test access, mknod, symlink // TODO: rmdir on non-dir, non-empty dir // TODO: test unlink-during-writing // TODO: test weird open flags failing // TODO: test chown, chmod