Skip to content

Conversation

@robbertvanwaveren
Copy link

It seems running basic commands inside the container like installing additional python packages with pip fails due to a lack of a home directory for the spark user. This PR solves that.

Not sure if that matches with the intended use-cases of the container but people are struggling with it.

related issues online:
https://stackoverflow.com/questions/75560836/apach-spark-py-docker-image-error-could-not-install-packages-due-to-an-oserror
https://stackoverflow.com/questions/2662598/grails-date-property-editor
benniehaelen/delta-lake-up-and-running#5

@dongjoon-hyun
Copy link
Member

Thank you for making a PR, @robbertvanwaveren .

We understand the existing behavior was misleading. However, we decided to stick the existing behavior for a security reason. Additionally, to be clear our intention, we switch the directory name like the following.

Let me close this PR for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants