Skip to content

Commit e253a7a

Browse files
committed
Minor updates to README
1 parent f3b6bd7 commit e253a7a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,25 +275,25 @@ To get SparkMeasure, choose one of the following options:
275275
pyspark --packages ch.cern.sparkmeasure:spark-measure_2.12:0.27
276276
pip install sparkmeasure
277277
```
278-
### Including sparkMeasure in your Spark environment
279278

280-
Choose your preferred method:
279+
### Add sparkMeasure to your Spark runtime classpath
281280

282-
* Use the `--packages` option:
281+
Choose one of the following options. You only need a single method to make sparkMeasure available to Spark.
282+
283+
* Preferred: use the `--packages` option to download sparkMeasure from Maven Central and automatically resolve its dependencies:
283284

284285
```bash
285286
--packages ch.cern.sparkmeasure:spark-measure_2.13:0.27
286287
```
287-
* Directly reference the JAR file:
288+
* Alternatively, provide the JAR yourself with one of these direct JAR/classpath methods:
288289

289290
```bash
290291
--jars /path/to/spark-measure_2.13-0.27.jar
291292
--jars https://github.com/LucaCanali/sparkMeasure/releases/download/v0.27/spark-measure_2.13-0.27.jar
292293
--conf spark.driver.extraClassPath=/path/to/spark-measure_2.13-0.27.jar
293294
```
294295

295-
296-
--
296+
---
297297
## Running unit tests
298298

299299
To ensure the integrity of the sparkMeasure codebase and validate your setup, you can run the built-in unit tests. These tests are designed to verify core functionality.

0 commit comments

Comments
 (0)