mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-15 10:26:44 +00:00
update spark, add 2.3.1
This commit is contained in:
11
spark/2.3.1/bootstrap.sh
Executable file
11
spark/2.3.1/bootstrap.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#! /bin/bash
|
||||
|
||||
if [[ $1 == "master" ]]; then
|
||||
/usr/local/spark/sbin/start-master.sh
|
||||
fi
|
||||
|
||||
if [[ $1 == "slave" ]]; then
|
||||
/usr/local/spark/sbin/start-slave.sh $2
|
||||
fi
|
||||
|
||||
while true; do sleep 1000; done
|
||||
Reference in New Issue
Block a user