Breaking the Hive

This commit is contained in:
Mike Reeves committed 2019-05-07 15:28:11 -04:00
1 parent 5824e3c11d
commit fcc44cbf74
2 files changed
+10

No files matched your search

+9
View File
@@ -33,5 +33,14 @@ hive_init(){
if [ -f /opt/so/state/thehive.txt ]; then
exit 0
else
rm -f garbage_file
while ! wget -O garbage_file {{MASTERIP}}:9500 2>/dev/null
do
echo "Waiting for Elasticsearch..."
rm -f garbage_file
sleep 1
done
rm -f garbage_file
sleep 5
hive_init
fi