Skip to content

Commit 44b3330

Browse files
authored
Merge pull request #11 from kbase/dev_yarn
build on macs
2 parents fb26853 + f807064 commit 44b3330

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ ENV YARN-SITE.XML_yarn.nodemanager.resource.count-logical-processors-as-cores=tr
138138
COPY ./scripts/ /opt/scripts/
139139
USER root
140140
RUN chmod a+x /opt/scripts/*.sh
141+
# Set permissions for /tmp as it will be mounted to external storage in Rancher
142+
RUN chmod -R 1777 /tmp
141143
USER hadoop
142144

143145
WORKDIR /opt/hadoop

docker-compose.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ services:
3232
build:
3333
context: .
3434
dockerfile: Dockerfile
35-
container_name: yarn-resourcemanager
35+
platform: linux/amd64
3636
ports:
3737
- 8088:8088 # web ui
3838
environment:
@@ -52,7 +52,7 @@ services:
5252
build:
5353
context: .
5454
dockerfile: Dockerfile
55-
container_name: yarn-nodemanager
55+
platform: linux/amd64
5656
ports:
5757
- 8042:8042 # web ui
5858
environment:
@@ -71,7 +71,6 @@ services:
7171

7272
minio:
7373
image: minio/minio
74-
container_name: spark-minio
7574
ports:
7675
- "9002:9002"
7776
# MinIO Console is available at http://localhost:9003

0 commit comments

Comments
 (0)