Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
mount user's volume #94
mount user's volume #94
Changes from all commits
102f5eb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 33 in src/jupyterhub_config/custom_docker_spawner.py
Codecov / codecov/patch
src/jupyterhub_config/custom_docker_spawner.py#L33
Check warning on line 107 in src/jupyterhub_config/custom_docker_spawner.py
Codecov / codecov/patch
src/jupyterhub_config/custom_docker_spawner.py#L107
Check warning on line 142 in src/jupyterhub_config/custom_docker_spawner.py
Codecov / codecov/patch
src/jupyterhub_config/custom_docker_spawner.py#L141-L142
Check warning on line 151 in src/jupyterhub_config/custom_docker_spawner.py
Codecov / codecov/patch
src/jupyterhub_config/custom_docker_spawner.py#L149-L151
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just get rid of this? Seems like a good time to do so if we're switching infrastructure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm I am thinking we will need to mount a shared dir for people to put shared notebooks. Also, I am planning to use admin account to move existing notebooks to user's new workspace. For the later, there are other ways.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it's not really legacy then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm yea. Maybe I will remove the comments or remove the mount once we are set stone of mounting volume.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Check warning on line 154 in src/jupyterhub_config/custom_docker_spawner.py
Codecov / codecov/patch
src/jupyterhub_config/custom_docker_spawner.py#L153-L154
Check warning on line 158 in src/jupyterhub_config/custom_docker_spawner.py
Codecov / codecov/patch
src/jupyterhub_config/custom_docker_spawner.py#L156-L158
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Admin doesn't need the hive metastore dir?
Actually, didn't we say last time there shouldn't be a hive dir at all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hive is within
cdm_shared_dir
. So I didn't mount it here specifically.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But didn't we say it's not needed in a recent pr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you are referring to postgres dir which is remote now so we don't need it. I think users need to read hive in order to read correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like when a namespace is created in postgres, an associated namespace.db file is created in the hive dir. So I am guessing it's needed. But we can remove it if we noticed it's no longer needed. I want to grant users broad privileges initially, then scale them back gradually based on our findings. That way we can move faster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Check warning on line 166 in src/jupyterhub_config/custom_docker_spawner.py
Codecov / codecov/patch
src/jupyterhub_config/custom_docker_spawner.py#L164-L166