Skip to content

Commit

Permalink
update to spark 3.0 & scala 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ozancicek committed Jun 22, 2020
1 parent ea4fdef commit 2814bab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jdk:

matrix:
include:
- env: SCALA_VERSION=2.11.8 SPARK_VERSION=2.4.4
- env: SCALA_VERSION=2.12.10 SPARK_VERSION=3.0.0

install:
- pip install --user pyspark==$SPARK_VERSION
Expand Down
12 changes: 6 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import Dependencies._

val defaultScalaVersion = "2.11.8"
val defaultScalaVersion = "2.12.10"

val scalaVer = sys.props.getOrElse("scala.version", defaultScalaVersion)

val defaultSparkVersion = "2.4.4"
val defaultSparkVersion = "3.0.0"

val sparkVer = sys.props.getOrElse("spark.version", defaultSparkVersion)

val components = Seq("streaming", "sql", "mllib")

val shortDesc = "Bayesian filtering with Spark"
val shortDesc = "Online latent state estimation with Apache Spark."

val longDesc = """Model-parallel kalman and bayesian filtering with Apache Spark.
val longDesc = """Online latent state estimation with Apache Spark.
|
|This library allows you to define model-parallel kalman & bayesian filters by leveraging arbitrary
|stateful transformation capabilities of Spark DataFrames. Supports both structured streaming and
|batch processing mode. Suitable for latent state estimation of many similar small scale systems.""".stripMargin

lazy val settings = Seq(
scalaVersion := scalaVer,
version := "0.3.1",
version := "0.4.0-SNAPSHOT",
organization := "com.github.ozancicek",
organizationName := "ozancicek",
sparkVersion := sparkVer,
Expand Down Expand Up @@ -59,7 +59,7 @@ credentials += Credentials(Path.userHome / ".ivy2" / ".sparkpackagescredentials"

credentials += Credentials(Path.userHome / ".ivy2" / ".sonatypecredentials")

spShortDescription := "Bayesian filtering with Spark"
spShortDescription := "Online latent state estimation with Apache Spark."

spDescription := shortDesc

Expand Down
2 changes: 1 addition & 1 deletion python/requirements-all.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pyspark==2.4.4
pyspark==3.0.0
numpy>=1.7
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from setuptools import setup


VERSION = "0.3.1"
VERSION = "0.4.0"

with open("README.md") as f:
long_description = f.read()
Expand Down

0 comments on commit 2814bab

Please sign in to comment.