File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -37,21 +37,23 @@ RUN mkdir -p ${HADOOP_HOME} && mkdir -p ${SPARK_HOME} && mkdir -p /home/iceberg/
3737WORKDIR ${SPARK_HOME}
3838
3939# Remember to also update `tests/conftest`'s spark setting
40- ENV SPARK_VERSION=3.5.3
40+ ENV SPARK_VERSION=3.5.4
4141ENV ICEBERG_SPARK_RUNTIME_VERSION=3.5_2.12
42- ENV ICEBERG_VERSION=1.6 .0
42+ ENV ICEBERG_VERSION=1.8 .0
4343ENV PYICEBERG_VERSION=0.8.1
4444
4545RUN curl --retry 5 -s -C - https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop3.tgz -o spark-${SPARK_VERSION}-bin-hadoop3.tgz \
4646 && tar xzf spark-${SPARK_VERSION}-bin-hadoop3.tgz --directory /opt/spark --strip-components 1 \
4747 && rm -rf spark-${SPARK_VERSION}-bin-hadoop3.tgz
4848
4949# Download iceberg spark runtime
50- RUN curl --retry 5 -s https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-spark-runtime-${ICEBERG_SPARK_RUNTIME_VERSION}/${ICEBERG_VERSION}/iceberg-spark-runtime-${ICEBERG_SPARK_RUNTIME_VERSION}-${ICEBERG_VERSION}.jar -Lo iceberg-spark-runtime-${ICEBERG_SPARK_RUNTIME_VERSION}-${ICEBERG_VERSION}.jar \
51- && mv iceberg-spark-runtime-${ICEBERG_SPARK_RUNTIME_VERSION}-${ICEBERG_VERSION}.jar /opt/spark/jars
50+ RUN curl --retry 5 -s https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-spark-runtime-${ICEBERG_SPARK_RUNTIME_VERSION}/${ICEBERG_VERSION}/iceberg-spark-runtime-${ICEBERG_SPARK_RUNTIME_VERSION}-${ICEBERG_VERSION}.jar \
51+ -Lo /opt/spark/jars/iceberg-spark-runtime-${ICEBERG_SPARK_RUNTIME_VERSION}-${ICEBERG_VERSION}.jar
52+
5253
5354# Download AWS bundle
54- RUN curl --retry 5 -s https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-aws-bundle/${ICEBERG_VERSION}/iceberg-aws-bundle-${ICEBERG_VERSION}.jar -Lo /opt/spark/jars/iceberg-aws-bundle-${ICEBERG_VERSION}.jar
55+ RUN curl --retry 5 -s https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-aws-bundle/${ICEBERG_VERSION}/iceberg-aws-bundle-${ICEBERG_VERSION}.jar \
56+ -Lo /opt/spark/jars/iceberg-aws-bundle-${ICEBERG_VERSION}.jar
5557
5658COPY spark-defaults.conf /opt/spark/conf
5759ENV PATH="/opt/spark/sbin:/opt/spark/bin:${PATH}"
Original file line number Diff line number Diff line change @@ -2420,7 +2420,7 @@ def spark() -> "SparkSession":
24202420 # Remember to also update `dev/Dockerfile`
24212421 spark_version = "." .join (importlib .metadata .version ("pyspark" ).split ("." )[:2 ])
24222422 scala_version = "2.12"
2423- iceberg_version = "1.6 .0"
2423+ iceberg_version = "1.8 .0"
24242424
24252425 os .environ ["PYSPARK_SUBMIT_ARGS" ] = (
24262426 f"--packages org.apache.iceberg:iceberg-spark-runtime-{ spark_version } _{ scala_version } :{ iceberg_version } ,"
You can’t perform that action at this time.
0 commit comments