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

[FEATURE] Shared mode/User Isolation option for job clusters #96

Closed
1 of 4 tasks
aseemanand opened this issue Feb 8, 2024 · 2 comments
Closed
1 of 4 tasks

[FEATURE] Shared mode/User Isolation option for job clusters #96

aseemanand opened this issue Feb 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@aseemanand
Copy link

aseemanand commented Feb 8, 2024

There is currently a permission issue for shared mode/user isolation for job clusters while using Brickflow. Per Databricks, local_disk0/.ephemeral_nfs is a directory used internally by the system, and users typically don't have direct access to it in shared cluster mode.

Important note:

Spark cannot directly interact with workspace files on compute configured with shared access mode, the purpose of this cluster is being secured, the action the import is trying to do is not allowed.

Reference: https://docs.databricks.com/en/files/workspace-interact.html#read-data-workspace-files

Cloud Information

  • AWS
  • Azure
  • GCP
  • Other

Describe the solution you'd like
Job cluster successfully working with Shared mode/User isolation mode in Brickflow.

Describe alternatives you've considered
We gave SELECT on all referenced tables and views in Single User mode to avoid Databricks limitation. This incurs tech debt as it means any new table/view in the upstream source can break our data pipeline .

Additional context
None

@aseemanand aseemanand added the enhancement New feature or request label Feb 8, 2024
@aseemanand aseemanand changed the title [FEATURE] Shared mode by default for job clusters [FEATURE] Shared mode/User Isolation option for job clusters Feb 9, 2024
@stikkireddy
Copy link
Collaborator

Related to #31. Will take a look at this.

@aseemanand
Copy link
Author

This is resolved. Thanks @stikkireddy @asingamaneni

#97 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants