update spark, add 2.3.1

This commit is contained in:
2018-08-07 20:36:19 +08:00
parent 922ddd57d1
commit 8750cbd8c2
3 changed files with 105 additions and 0 deletions

11
spark/2.3.1/bootstrap.sh Executable file
View 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