commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 楊閔富 <tilu...@gmail.com>
Subject Re: Wondering VFS will support Read/Write on Google Cloud Storage?
Date Sat, 17 Jun 2017 02:31:21 GMT
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 <ecki@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: 楊閔富 <tilumi0@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 楊閔富 <tilumi0@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?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message