File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ ENV YARN-SITE.XML_yarn.nodemanager.resource.count-logical-processors-as-cores=tr
138
138
COPY ./scripts/ /opt/scripts/
139
139
USER root
140
140
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
141
143
USER hadoop
142
144
143
145
WORKDIR /opt/hadoop
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ services:
32
32
build :
33
33
context : .
34
34
dockerfile : Dockerfile
35
- container_name : yarn-resourcemanager
35
+ platform : linux/amd64
36
36
ports :
37
37
- 8088:8088 # web ui
38
38
environment :
@@ -52,7 +52,7 @@ services:
52
52
build :
53
53
context : .
54
54
dockerfile : Dockerfile
55
- container_name : yarn-nodemanager
55
+ platform : linux/amd64
56
56
ports :
57
57
- 8042:8042 # web ui
58
58
environment :
@@ -71,7 +71,6 @@ services:
71
71
72
72
minio :
73
73
image : minio/minio
74
- container_name : spark-minio
75
74
ports :
76
75
- " 9002:9002"
77
76
# MinIO Console is available at http://localhost:9003
You can’t perform that action at this time.
0 commit comments