Support Questions

Find answers, ask questions, and share your expertise

What POSIX operations are not supported in HDFS fuse?

avatar
New Contributor

Hi,

 

Does anyone know what POSIX operations are not supported in HDFS fuse? When I mount my HDFS file system in "/mnt/hdfs", and run "git init" inside the mountpoint, it failed with the following error message:

 

error: could not commit config file

 

I suspect that this is because some file operations are not supported by HDFS fuse. 

 

1 ACCEPTED SOLUTION

avatar
Mentor
You can find what operations are supported in the hdfs-fuse source: https://github.com/cloudera/hadoop-common/tree/cdh5.8.0-release/hadoop-hdfs-project/hadoop-hdfs/src/... (this is a directory-tree, look for the files with "impls" in their names for the syscalls supported).

Git likely needs more advanced features from its used filesystem that HDFS currently does not offer. You can run git under strace to find out what that syscall is.

View solution in original post

1 REPLY 1

avatar
Mentor
You can find what operations are supported in the hdfs-fuse source: https://github.com/cloudera/hadoop-common/tree/cdh5.8.0-release/hadoop-hdfs-project/hadoop-hdfs/src/... (this is a directory-tree, look for the files with "impls" in their names for the syscalls supported).

Git likely needs more advanced features from its used filesystem that HDFS currently does not offer. You can run git under strace to find out what that syscall is.