update spark

This commit is contained in:
2018-08-08 12:16:24 +08:00
parent c7b252fe79
commit 702f667281
16 changed files with 52 additions and 335 deletions

View File

@@ -1,6 +1,10 @@
#! /bin/bash
# replace config
cp /mnt/config/spark/* $SPARK_HOME/conf
## replace config
: ${EXTRA_CONF_DIR:=/config/hadoop}
bash -c "/etc/bootstrap.sh -d"
if [ -d "$EXTRA_CONF_DIR" ]; then
cp $EXTRA_CONF_DIR/* /usr/local/hadoop/etc/hadoop/
fi
while true; do sleep 1000; done