Skip to content

Commit e2615b6

Browse files
committed
Install AWS SDK on Iceberg image
1 parent b14bf2f commit e2615b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testing/spark3-iceberg/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ RUN set -xeu; \
3232

3333
WORKDIR ${SPARK_HOME}/jars
3434

35+
# install AWS SDK so we can access S3; the version must match the hadoop-* jars which are part of SPARK distribution
36+
RUN wget -nv "https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-aws/3.3.4/hadoop-aws-3.3.4.jar"
37+
RUN wget -nv "https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/1.12.319/aws-java-sdk-bundle-1.12.319.jar"
38+
3539
# install Iceberg
3640
RUN wget -nv "https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-spark-runtime-${ICEBERG_JAR_VERSION}/${ICEBERG_VERSION}/iceberg-spark-runtime-${ICEBERG_JAR_VERSION}-${ICEBERG_VERSION}.jar"
3741

0 commit comments

Comments
 (0)