Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

What POSIX operations are not supported in HDFS fuse?

avatar
New Member

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.