Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
java-version: 17
cache: sbt
- uses: sbt/setup-sbt@v1
- name: configure aws credentials
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
java-version: 17
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Check formatting
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tutorial-dynamodb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
java-version: 17
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Build migrator
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:11-jdk-slim AS build
FROM openjdk:17-jdk-slim AS build

# Install sbt
RUN apt-get update && apt-get install -y curl gnupg && \
Expand All @@ -14,7 +14,7 @@ WORKDIR /app
COPY . /app

# Set JAVA_HOME
ENV JAVA_HOME=/usr/local/openjdk-11
ENV JAVA_HOME=/usr/local/openjdk-17

# Run build.sh to produce the jar
RUN chmod +x build.sh && ./build.sh
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ lazy val migrator = (project in file("migrator")).enablePlugins(BuildInfoPlugin)
"software.amazon.awssdk" % "dynamodb" % awsSdkVersion,
"software.amazon.awssdk" % "s3" % awsSdkVersion,
"software.amazon.awssdk" % "sts" % awsSdkVersion,
"com.scylladb" %% "spark-scylladb-connector" % "4.0.0",
"com.scylladb" %% "spark-scylladb-connector" % "4.1.0",
"com.github.jnr" % "jnr-posix" % "3.1.19", // Needed by the Spark ScyllaDB connector
"com.scylladb.alternator" % "emr-dynamodb-hadoop" % "5.8.0",
"com.scylladb.alternator" % "load-balancing" % "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/spark/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM alpine:3.20

ENV SPARK_VERSION=3.5.1 \
ENV SPARK_VERSION=3.5.8 \
HADOOP_VERSION=3 \
SCALA_VERSION=2.13 \
SPARK_HOME="/spark"

RUN set -ex; \
apk add --no-cache openjdk11-jre bash rsync procps openssh coreutils; \
apk add --no-cache openjdk17-jre bash rsync procps openssh coreutils; \
wget https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}-scala${SCALA_VERSION}.tgz; \
tar --directory / -xvzf spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}-scala${SCALA_VERSION}.tgz; \
mv /spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}-scala${SCALA_VERSION} ${SPARK_HOME}; \
Expand Down
Loading