Docker Container Build and Run setup with foundations for adding docker integration tests. Docker images built with Hadoop 2.8.4 Hive 2.3.3 and Spark 2.3.1 and published to docker-hub
Look at quickstart document for how to setup docker and run demo
This commit is contained in:
committed by
vinoth chandar
parent
9710b5a3a6
commit
f3418e4718
14
docker/hoodie/hadoop/spark_base/execute-step.sh
Normal file
14
docker/hoodie/hadoop/spark_base/execute-step.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $ENABLE_INIT_DAEMON = "true" ]
|
||||
then
|
||||
echo "Execute step ${INIT_DAEMON_STEP} in pipeline"
|
||||
while true; do
|
||||
sleep 5
|
||||
echo -n '.'
|
||||
string=$(curl -sL -w "%{http_code}" -X PUT $INIT_DAEMON_BASE_URI/execute?step=$INIT_DAEMON_STEP -o /dev/null)
|
||||
[ "$string" = "204" ] && break
|
||||
done
|
||||
echo "Notified execution of step ${INIT_DAEMON_STEP}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user