mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-07 08:31:55 +00:00
update spark
This commit is contained in:
parent
2bfc0967aa
commit
0582327307
@ -1,11 +1,11 @@
|
||||
#! /bin/bash
|
||||
|
||||
if [[ $1 == "master" ]]; then
|
||||
./sbin/start_master.sh
|
||||
/usr/local/spark/sbin/start_master.sh
|
||||
fi
|
||||
|
||||
if [[ $1 == "slave" ]]; then
|
||||
./sbin/start_slave.sh spark://$2:7077
|
||||
/usr/local/spark/sbin/start_slave.sh $2
|
||||
fi
|
||||
|
||||
while true; do sleep 1000; done
|
||||
|
Loading…
Reference in New Issue
Block a user