Skip to content

Commit

Permalink
Merge pull request #9 from badrinathpatchikolla/spark-3.2
Browse files Browse the repository at this point in the history
Added Provided for elastic search version
  • Loading branch information
badrinathpatchikolla authored Oct 3, 2022
2 parents 6d18cce + adcb673 commit 6881a78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

Add to your build:
```
libraryDependencies += "com.github.music-of-the-ainur" %% "elasticsearch-almaren" % "0.0.1-3.2"
libraryDependencies += "com.github.music-of-the-ainur" %% "elasticsearch-almaren" % "0.0.2-3.2"
libraryDependencies += "org.elasticsearch" %% "elasticsearch-spark-30" % "8.4.2"
```

Example in Spark Shell
```
spark-shell --master local[*] --packages "com.github.music-of-the-ainur:almaren-framework_2.12:0.9.5-$SPARK_VERSION,com.github.music-of-the-ainur:elasticsearch-almaren_2.12:0.0.1-$SPARK_VERSION"
spark-shell --master local[*] --packages "com.github.music-of-the-ainur:almaren-framework_2.12:0.9.5-$SPARK_VERSION,com.github.music-of-the-ainur:elasticsearch-almaren_2.12:0.0.2-$SPARK_VERSION,org.elasticsearch:elasticsearch-spark-30_2.12:8.4.2"
```

## Source and Target
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % sparkVersion % "provided",
"org.apache.spark" %% "spark-sql" % sparkVersion % "provided",
"com.github.music-of-the-ainur" %% "almaren-framework" % s"0.9.5-${majorVersion}" % "provided",
"org.elasticsearch" %% "elasticsearch-spark-20" % "8.4.2",
"org.elasticsearch" %% "elasticsearch-spark-20" % "8.4.2" % "provided",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.0",
"org.scalatest" %% "scalatest" % "3.0.5" % "test"
)
Expand Down

0 comments on commit 6881a78

Please sign in to comment.