fsspec / filesystem_spec

A specification that python filesystems should adhere to.
BSD 3-Clause "New" or "Revised" License
989 stars 347 forks source link

Mount using fsspec.fuse.run with AzureDatalakeFileSystem filesystem on Ubuntu 18 not working #536

Open tomasro27 opened 3 years ago

tomasro27 commented 3 years ago

Hi, I'm trying to mount an AzureDatalakeFileSystem (from adlfs python package) using fsspec.fuse.run. However, after calling the run method, I can't access the mount_point folder. For example, I used mount_point /tmp/test1/. It looks like mount was successful, but if I try to 'ls' on the parent directory, I get: "ls: cannot access 'test1': No such file or directory" If I cd into that folder, the folder is empty. And doing 'ls' inside that folder gets: "ls: cannot open directory '.': No such file or directory" The only way to get the folder back to a good state is to sudo umount /test1/

I looked around and some people suggest changing directory permissions. Others suggest editing etc/fuse.conf file to include user_allow_other. But to no avail.

There is no much documentation on using run(), but I successfully created AzureDatalakeFileSystem, and I can interact with this and see the contents of the filesystem. However, run() does not seem to properly mount. Any help or guidance here would be appreciated. Thanks

martindurant commented 3 years ago

"No such file or directory" sounds like the mount did not in fact work. I'll try to find some time to try it in linux; though, honestly, fuse has always been little-used because the performance will be poor.

tomasro27 commented 3 years ago

Thank you - let me know if you hit the same issue or not

martindurant commented 3 years ago

I did not see this problem. However, I am not running with abfs (I don't have an account). It may be sensitive to how you use slashed ("/") in the root path you want to mount.