Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102072594
start-cluster.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Feb 16, 20:11
Size
213 B
Mime Type
text/x-shellscript
Expires
Tue, Feb 18, 20:11 (2 d)
Engine
blob
Format
Raw Data
Handle
24275528
Attached To
rSCADDONS scitas-addon-scripts
start-cluster.sh
View Options
#!/bin/bash
MASTER
=
$1
HOST
=
$(
hostname
)
if
[
"$HOST"
==
"$MASTER"
]
;
then
$SPARK_ROOT
/sbin/start-master.sh
fi
$SPARK_ROOT
/sbin/start-slave.sh spark://
$MASTER
:7077
tail -f /dev/null
#wait forever
Event Timeline
Log In to Comment