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

build on macs #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ ENV YARN-SITE.XML_yarn.nodemanager.resource.count-logical-processors-as-cores=tr
COPY ./scripts/ /opt/scripts/
USER root
RUN chmod a+x /opt/scripts/*.sh
# Set permissions for /tmp as it will be mounted to external storage in Rancher
RUN chmod -R 1777 /tmp
USER hadoop

WORKDIR /opt/hadoop
Expand Down
5 changes: 2 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
build:
context: .
dockerfile: Dockerfile
container_name: yarn-resourcemanager
platform: linux/amd64
ports:
- 8088:8088 # web ui
environment:
Expand All @@ -52,7 +52,7 @@ services:
build:
context: .
dockerfile: Dockerfile
container_name: yarn-nodemanager
platform: linux/amd64
ports:
- 8042:8042 # web ui
environment:
Expand All @@ -71,7 +71,6 @@ services:

minio:
image: minio/minio
container_name: spark-minio
ports:
- "9002:9002"
# MinIO Console is available at http://localhost:9003
Expand Down
Loading