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

how can I access this location => /spark/README.md #152

Open
zehranrgi opened this issue Jul 18, 2022 · 1 comment
Open

how can I access this location => /spark/README.md #152

zehranrgi opened this issue Jul 18, 2022 · 1 comment

Comments

@zehranrgi
Copy link

zehranrgi commented Jul 18, 2022

In the example below, the parameter is taken from /spark/README.md; can I find this location?

Original Examples

Dockerfile :
...
ENV SPARK_APPLICATION_ARGS "/spark/README.md"

@zehranrgi zehranrgi changed the title how I access these locations /spark/README.md /app/ how can I access these locations => /spark/README.md /app/ Jul 18, 2022
@zehranrgi zehranrgi changed the title how can I access these locations => /spark/README.md /app/ how can I access this location => /spark/README.md Jul 18, 2022
@GezimSejdiu
Copy link
Member

GezimSejdiu commented Aug 10, 2022

Hey @zehranrgi ,

that location or at least that file is coming withing docker container just as an example and it comes from here: https://github.com/big-data-europe/docker-spark/blob/6fc7f76ee7aa5be7c5c44a97fc9e3e429b45b0e5/base/Dockerfile#L24%60 as the /spark is the path where spark is located and as such it also contains the README file on its binaries.

You can mount any volume you want when you setup the containers which then becomes visible on the container and define it as a parameter. So, in this example (to be a bit of self-contain) I do use that path.

Let me know if you need more help on this.

Best regards,

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

No branches or pull requests

2 participants