Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Directories in a fuse mount from Jupyter container #202

Closed
kaipak opened this issue Apr 7, 2018 · 8 comments
Closed

Creating Directories in a fuse mount from Jupyter container #202

kaipak opened this issue Apr 7, 2018 · 8 comments

Comments

@kaipak
Copy link

kaipak commented Apr 7, 2018

Touching files works fine and indeed, files I copy/create in the terminal show up in the console. However, if I try to create directories, I get the following:

[jovyan@jupyter-kaipak /gcs/storage-benchmarks
 :) ]$ mkdir foo
mkdir: cannot create directory ‘foo’: Bad address
[jovyan@jupyter-kaipak /gcs/storage-benchmarks
 :( ]$

Stranger still are the timestamps:

 :) ]$ ls -la
total 0
drwxrwxrwx 0 jovyan 1000 0 Jan  1  1970 .
drwxrwxrwx 0 jovyan 1000 0 Jan  1  1970 ..
drwxrwxrwx 0 jovyan 1000 0 Jan  1  1970 test_fuse
drwxrwxrwx 0 jovyan 1000 0 Jan  1  1970 test_zarr

Finally, if I delete a directory in the console, it doesn't register in my mounted filesystem until much later, as if it's not updating frequently. I don't get any of these problems from my local laptop. I tried giving my account full ownership access to a different bucket, but this doesn't seem to work either.

@mrocklin
Copy link
Member

mrocklin commented Apr 7, 2018 via email

@mrocklin
Copy link
Member

mrocklin commented Apr 7, 2018 via email

@kaipak
Copy link
Author

kaipak commented Apr 8, 2018

I take it there isn't a huge issue with installing Google's gcsfuse for now?

I mean, I'd be happy to also take a swag at a PR :).

@jgerardsimcock
Copy link

jgerardsimcock commented Apr 8, 2018

I had similar issues yesterday. I can use gcsfs from my local machine but on a pangeo-like deployment on k8s, I get this behavior.

fsspec/gcsfs#89

I'm inclined to discuss a path forward on this.

@jgerardsimcock
Copy link

@kaipak please see fsspec/gcsfs#96

Did you pass values to project-id and token?

@kaipak
Copy link
Author

kaipak commented Apr 14, 2018

@jgerardsimcock yes, and this seems to fix the issue on my local Jupyter container, but I still get errors from workers. gcsfs works great with the hack noted by #209

@stale
Copy link

stale bot commented Jun 25, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 25, 2018
@stale
Copy link

stale bot commented Jul 2, 2018

This issue has been automatically closed because it had not seen recent activity. The issue can always be reopened at a later date.

@stale stale bot closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants