diff options
author | Ubuntu <ubuntu@ip-10-196-90-205.us-west-1.compute.internal> | 2013-07-18 00:51:18 +0000 |
---|---|---|
committer | Ubuntu <ubuntu@ip-10-196-90-205.us-west-1.compute.internal> | 2013-07-18 00:51:18 +0000 |
commit | 88a0823c58304fa1b290667d95a482105a8a5f52 (patch) | |
tree | b5dd5a8880a49bf2492f1db5d538b37c2340ea6f /docs | |
parent | cad48edb70c58a48f66851e963f51db712ab7863 (diff) | |
download | spark-88a0823c58304fa1b290667d95a482105a8a5f52.tar.gz spark-88a0823c58304fa1b290667d95a482105a8a5f52.tar.bz2 spark-88a0823c58304fa1b290667d95a482105a8a5f52.zip |
Consistently invoke bash with /usr/bin/env bash in scripts to make code more portable (JIRA Ticket SPARK-817)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/spark-simple-tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/spark-simple-tutorial.md b/docs/spark-simple-tutorial.md index 9875de62bd..fbdbc7d19d 100644 --- a/docs/spark-simple-tutorial.md +++ b/docs/spark-simple-tutorial.md @@ -13,7 +13,7 @@ title: Tutorial - Running a Simple Spark Application 3. Edit the ~/SparkTest/sbt/sbt file to look like this: - #!/bin/bash + #!/usr/bin/env bash java -Xmx800M -XX:MaxPermSize=150m -jar $(dirname $0)/sbt-launch-*.jar "$@" 4. To build a Spark application, you need Spark and its dependencies in a single Java archive (JAR) file. Create this JAR in Spark's main directory with sbt as: |