Skip to content

Commit

Permalink
Upgrade Spark
Browse files Browse the repository at this point in the history
  • Loading branch information
defconst committed Oct 2, 2024
1 parent 88d2429 commit e3fd7b5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased
### Changed
- Upgrade to Spark 3.5.3
- Upgrade DataStax Spark Cassandra connector to 3.5.1

## [24.02.0] 2024-03-04
### Fixed
- excessive logging in container
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ RUN apt-get update && \

# install Spark
RUN mkdir -p /opt/graphsense && \
wget https://archive.apache.org/dist/spark/spark-3.4.2/spark-3.4.2-bin-without-hadoop.tgz -O - | tar -xz -C /opt && \
ln -s /opt/spark-3.4.2-bin-without-hadoop /opt/spark && \
wget https://archive.apache.org/dist/spark/spark-3.5.3/spark-3.5.3-bin-without-hadoop.tgz -O - | tar -xz -C /opt && \
ln -s /opt/spark-3.5.3-bin-without-hadoop /opt/spark && \
wget https://archive.apache.org/dist/hadoop/core/hadoop-2.7.7/hadoop-2.7.7.tar.gz -O - | tar -xz -C /opt && \
ln -s /opt/hadoop-2.7.7 /opt/hadoop && \
echo "#!/usr/bin/env bash\nexport SPARK_DIST_CLASSPATH=$(/opt/hadoop/bin/hadoop classpath)" >> /opt/spark/conf/spark-env.sh && \
Expand Down
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ lazy val root = (project in file(".")).
"org.scalatest" %% "scalatest" % "3.2.12" % Test,
"com.github.mrpowers" % "spark-fast-tests_2.12" % "1.0.0" % Test,
"org.rogach" %% "scallop" % "4.1.0" % Provided,
"com.datastax.spark" %% "spark-cassandra-connector" % "3.4.1" % Provided,
"com.datastax.spark" %% "spark-cassandra-connector" % "3.5.1" % Provided,
"joda-time" % "joda-time" % "2.10.10" % Provided,
"org.web3j" % "core" % "4.8.7" % Provided,
"org.web3j" % "abi" % "4.8.7" % Provided,
"org.apache.spark" %% "spark-sql" % "3.4.2" % Provided,
"org.apache.spark" %% "spark-graphx" % "3.4.2" % Provided,
"graphframes" % "graphframes" % "0.8.3-spark3.4-s_2.12" % Provided),
"org.apache.spark" %% "spark-sql" % "3.5.3" % Provided,
"org.apache.spark" %% "spark-graphx" % "3.5.3" % Provided,
"graphframes" % "graphframes" % "0.8.3-spark3.5-s_2.12" % Provided),
)

0 comments on commit e3fd7b5

Please sign in to comment.