Skip to content

Commit

Permalink
add spark conf
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdenno committed Jun 6, 2024
1 parent 055a631 commit 4fe47b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ ENV SPARK_HOME ${NB_PYTHON_PREFIX}/lib/python3.11/site-packages/pyspark
RUN curl -s https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/1.12.262/aws-java-sdk-bundle-1.12.262.jar -Lo ${SPARK_HOME}/jars/aws-java-sdk-bundle-1.12.262.jar
RUN curl -s https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-aws/3.3.4/hadoop-aws-3.3.4.jar -Lo ${SPARK_HOME}/jars/hadoop-aws-3.3.4.jar

RUN mkdir -p ${SPARK_HOME}/conf
COPY spark-defaults.conf ${SPARK_HOME}/conf/spark-defaults.conf

WORKDIR /teehr

RUN pip install duckdb spatialpandas easydev colormap colorcet hydrotools
Expand Down
1 change: 1 addition & 0 deletions spark-defaults.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spark.driver.memory 96g

0 comments on commit 4fe47b3

Please sign in to comment.