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

Livy and docker compose #3

Open
warichet opened this issue Apr 28, 2021 · 0 comments
Open

Livy and docker compose #3

warichet opened this issue Apr 28, 2021 · 0 comments

Comments

@warichet
Copy link

Hello,
i try to adapt "docker-compose.spark_bitnami.yml" to used it with an existing installation of spark on docker (also an bitnami container).
I have an error about SPARK_HOME variable corrected in docker compose.
If i have understood this variable is used to get configuration of spark.
Is it possible to have only spark configuration in dockerfile instead to have a full spark installation ?

Thanks for your work.
Best regards
Seb

docker compose file:
services:
spark:
build: .
environment:
- SPARK_MODE=master
......
spark-worker-1:
build: .
environment:
- SPARK_MODE=worker
.....
livy:
image: livy-ofekhod
container_name: livy
environment:
- SPARK_HOME=/opt/bitnami/spark
- SPARK_CONF_DIR=/opt/bitnami/spark/conf
......

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

1 participant