Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

What POSIX operations are not supported in HDFS fuse?

Solved Go to solution

What POSIX operations are not supported in HDFS fuse?

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

Accepted Solutions

Re: What POSIX operations are not supported in HDFS fuse?

Master Guru
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.
1 REPLY 1

Re: What POSIX operations are not supported in HDFS fuse?

Master Guru
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.
Don't have an account?
Coming from Hortonworks? Activate your account here