At first I mount my Google Cloud Storage onto directory /tmp/gcs using
`gcsfuse`,
then I create a small project: https://github.com/tilumi/apache-vfs-debug
for testing it VFS can detect my mounting point or not.

the execution log:
```
$ls -al /tmp/gcs
total 0
drwxrwxrwx 1 root root 0 Jun 17 00:42 hive-warehouse
drwxrwxrwx 1 root root 0 Jun 17 00:42 softwares
drwxrwxrwx 1 root root 0 Jun 17 00:42 zeppelin-notebooks
$sudo java -cp apache-vfs-debug-1.0-SNAPSHOT-jar-with-dependencies.jar
Sample "file:///tmp/gcs"
false
$sudo java -cp apache-vfs-debug-1.0-SNAPSHOT-jar-with-dependencies.jar
Sample "file:///tmp"
true
```
It seems that it cannot correctly identify the directory mounted by gcsfuse.


2017-06-15 16:48 GMT+08:00 Bernd Eckenfels <e...@zusammenkunft.net>:

> Hello,
>
> The Local file provider should be able to deal with fuse mounted
> directories. It is hard to say what the problem is. Can you tell us how the
> path is named, what operations you tried, what exceptions are happening and
> what `ls` is returning.
>
>
>
> Gruss
> Bernd
> --
> http://bernd.eckenfels.net
> ________________________________
> From: 楊閔富 <tilu...@gmail.com>
> Sent: Thursday, June 15, 2017 3:03:12 AM
> To: dev@commons.apache.org
> Subject: Re: Wondering VFS will support Read/Write on Google Cloud Storage?
>
> Another question is that VFS cannot identify directory mounted by fuse?
>
> 2017-06-15 8:47 GMT+08:00 楊閔富 <tilu...@gmail.com>:
>
> > Hi
> >
> > I am using Zeppelin on Google Cloud DataProc and want make the notebooks
> > to be stored on the Google Cloud Storage.
> > At first, I used `gcsfuse`(https://github.com/
> GoogleCloudPlatform/gcsfuse)
> > to mount my Google Cloud Storage bucket as a local directory, but VFS
> used
> > by Zeppelin to manage files said the directory didn't exist.
> >
> > So I am wondering is support for Google Cloud Storage is in the VFS plan?
> > If yes, It's my pleasure to implement it. If not, why?
> >
>

Reply via email to