mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-15 10:26:44 +00:00
update hadoop
This commit is contained in:
@@ -9,8 +9,12 @@ rm /tmp/*.pid
|
||||
# installing libraries if any - (resource urls added comma separated to the ACP system variable)
|
||||
cd $HADOOP_PREFIX/share/hadoop/common ; for cp in ${ACP//,/ }; do echo == $cp; curl -LO $cp ; done; cd -
|
||||
|
||||
# replace config
|
||||
cp /mnt/hadoop-config/* $HADOOP_PREFIX/etc/hadoop/
|
||||
## replace config
|
||||
: ${EXTRA_CONF_DIR:=/config/hadoop}
|
||||
|
||||
if [ -d "$EXTRA_CONF_DIR" ]; then
|
||||
cp $EXTRA_CONF_DIR/* $HADOOP_PREFIX/etc/hadoop/
|
||||
fi
|
||||
|
||||
/usr/sbin/sshd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user