Skip to content

Commit

Permalink
Release 0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCanali committed Feb 24, 2020
1 parent 8e1e063 commit db87a1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ SparkMeasure is also intended as a working example of how to use Spark Listeners

### Getting started with sparkMeasure, by example
* How to use: deploy [sparkMeasure from Maven Central](https://mvnrepository.com/artifact/ch.cern.sparkmeasure/spark-measure)
- Scala: `bin/spark-shell --packages ch.cern.sparkmeasure:spark-measure_2.11:0.15`
- PySpark: `bin/pyspark --packages ch.cern.sparkmeasure:spark-measure_2.11:0.15`
- Scala: `bin/spark-shell --packages ch.cern.sparkmeasure:spark-measure_2.11:0.16`
- PySpark: `bin/pyspark --packages ch.cern.sparkmeasure:spark-measure_2.11:0.16`
- note: install the Python wrapper API with: `pip install sparkmeasure`
- Bleeding edge: build from master using sbt: `sbt +package` and use the jars instead of packages.

Expand All @@ -31,15 +31,15 @@ SparkMeasure is also intended as a working example of how to use Spark Listeners
- CLI: spark-shell and pyspark
```
# Scala CLI
bin/spark-shell --packages ch.cern.sparkmeasure:spark-measure_2.11:0.15
bin/spark-shell --packages ch.cern.sparkmeasure:spark-measure_2.11:0.16
val stageMetrics = ch.cern.sparkmeasure.StageMetrics(spark)
stageMetrics.runAndMeasure(spark.sql("select count(*) from range(1000) cross join range(1000) cross join range(1000)").show())
```
```
# Python CLI
pip install sparkmeasure
bin/pyspark --packages ch.cern.sparkmeasure:spark-measure_2.11:0.15
bin/pyspark --packages ch.cern.sparkmeasure:spark-measure_2.11:0.16
from sparkmeasure import StageMetrics
stagemetrics = StageMetrics(spark)
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name := "spark-measure"

version := "0.16-SNAPSHOT"
version := "0.16"

scalaVersion := "2.11.12"
crossScalaVersions := Seq("2.11.12", "2.12.10")

licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))

isSnapshot := true
isSnapshot := false

spName := "spark-measure"
sparkVersion := "2.4.5"
Expand Down

0 comments on commit db87a1f

Please sign in to comment.