Skip to content

Commit 5a128f4

Browse files
author
Sun Rui
committed
Add clarification on setting Spark master when launching the SparkR shell.
1 parent 32c567b commit 5a128f4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ shell with
5353

5454
./sparkR
5555

56+
The `sparkR` script automatically creates a SparkContext with Spark by default in
57+
local mode. To specify the Spark master of a cluster for the automatically created
58+
SparkContext, you can run
59+
60+
MASTER=<Spark master URL> ./sparkR
61+
5662
If you have installed it directly from github, you can include the SparkR
5763
package and then initialize a SparkContext. For example to run with a local
5864
Spark master you can launch R and then run

0 commit comments

Comments
 (0)