mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-16 02:46:45 +00:00
update spark
This commit is contained in:
10
spark/2.3.1-yarn/bootstrap.sh
Executable file
10
spark/2.3.1-yarn/bootstrap.sh
Executable 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
|
||||
Reference in New Issue
Block a user