update spark

This commit is contained in:
2018-08-07 18:04:59 +08:00
parent 93f18c1989
commit b690389814
3 changed files with 134 additions and 0 deletions

11
spark/test/bootstrap.sh Executable file
View File

@@ -0,0 +1,11 @@
#! /bin/bash
if [[ $1 == "master" ]]; then
./sbin/start_master.sh
fi
if [[ $1 == "slave" ]]; then
./sbin/start_slave.sh spark://$2:7077
fi
while true; do sleep 1000; done