update spark

This commit is contained in:
2018-08-08 15:33:55 +08:00
parent 702f667281
commit 7a6ebe8e2e
8 changed files with 241 additions and 0 deletions

10
spark/2.3.1-yarn/bootstrap.sh Executable file
View File

@@ -0,0 +1,10 @@
#! /bin/bash
## replace config
: ${EXTRA_CONF_DIR:=/config/hadoop}
if [ -d "$EXTRA_CONF_DIR" ]; then
cp $EXTRA_CONF_DIR/* /usr/local/hadoop/etc/hadoop/
fi
while true; do sleep 1000; done