Skip to content

Commit 45ef7ca

Browse files
committed
put configs in base image
1 parent d73ce9f commit 45ef7ca

38 files changed

+3
-2
lines changed

spark-cluster/base/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ RUN wget -q https://dlcdn.apache.org/hadoop/common/hadoop-3.4.1/hadoop-3.4.1.tar
5151
&& mkdir /var/hadoop/mr-history/done \
5252
&& mkdir /var/hadoop/mr-history/tmp
5353

54+
COPY ubuntu/usr/local/hadoop/etc/hadoop/* /usr/local/hadoop/etc/hadoop/
5455
COPY ubuntu/usr/local/hadoop/extras/* /usr/local/hadoop/extras/
5556

5657
# setup spark
@@ -59,6 +60,8 @@ RUN wget -q https://dlcdn.apache.org/spark/spark-3.5.5/spark-3.5.5-bin-hadoop3.t
5960
&& ln -s /usr/local/spark-3.5.5-bin-hadoop3 /usr/local/spark \
6061
&& rm /usr/local/spark/conf/*.template
6162

63+
COPY ubuntu/usr/local/spark/conf/* /usr/local/spark/conf/
64+
6265
# setup conda
6366
COPY ubuntu/root/environment.yml /tmp/environment.yml
6467
RUN wget -q https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh -O /tmp/anaconda.sh \

0 commit comments

Comments
 (0)