cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

bucket ownership of s3 bucket in databricks

LidorAbo
New Contributor II

We had a databricks job that has strange behavior,

when we passing 'output_path' to function saveAsTextFile and not output_path variable the data saved to the following path:

 s3://dev-databricks-hy1-rootbucket/nvirginiaprod/3219117805926709/output_path

The problem is that the object ownership for each object that saved in above path is not belongs to us - aws-prod.

So the question why the object owner is aws-prod and not our prod aws account?

Thanks for help.

Attached the notebook of job and also screenshoot from s3 bucket.

s3

1 REPLY 1

User16752239289
Valued Contributor
Valued Contributor

I suspect you provided a dbfs path to save the data hence the data saved under your workspace root bucket.

For the workspace root bucket, databricks workspace will interact with databricks credential to make sure databricks has access to it and able to modify.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.