Tags:
view all tags
---+ Spark on the CLMS cluster Spark jobs may be submitted from any node; the master URL, if you need it, is =spark://diana.local:7077=, although most spark commands will pick this up automatically. The job queue and node status may be monitored via the Spark Master's web interface, http://diana.ling.washington.edu:8080/. General information on Spark, along with examples, can be found on the [[http://spark.apache.org/][Apache Spark homepage]]. There are also example jobs in =/opt/spark/examples=. For example, to run the Pi approximation example with 1000 rounds, you would type <pre><verbatim style="background-color: transparent;">spark-submit /opt/spark/examples/src/main/python/pi.py 1000</verbatim> </pre> This will produce a lot of job information output, which may bury the output of the actual job, so you may want to split up stdout and stderr like so: <pre><verbatim>spark-submit /opt/spark/examples/src/main/python/pi.py 1000 >pi.out 2>pi.err</verbatim> </pre>
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2015-03-25
-
brodbd
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback