Skip to content

Commit

Permalink
Spark packages instructions (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
tovbinm committed Sep 11, 2018
1 parent 9ddfaae commit 078ea62
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/examples/Running-from-Spark-Shell.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Running from Spark Shell

Start up your spark shell:
Start up your spark shell and add the [TransmogrifAI package](https://spark-packages.org/package/salesforce/TransmogrifAI):

```bash
$SPARK_HOME/bin/spark-shell --packages com.salesforce.transmogrifai:transmogrifai-core_2.11:0.3.4
```

Or if you'd like to use the latest version from master:
```bash
cd TransmogrifAI && ./gradlew core:shadowJar
$SPARK_HOME/bin/spark-shell --jars core/build/libs/transmogrifai-x.y.z-all.jar
```

Once the spark-shell starts up, create your spark session:
Once the `spark-shell` starts up, create your spark session:

```scala
// Use the existing Spark session
Expand Down

0 comments on commit 078ea62

Please sign in to comment.