Skip to content
This repository was archived by the owner on Feb 15, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ansible/files/bootstrap/telemetry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,16 @@ if [ ! -z $TIMEOUT ]; then
sudo shutdown -h +$TIMEOUT&
fi

# Continue only if master node
if [ "$IS_MASTER" = false ]; then
exit
fi

# Setup Spark logging
sudo mkdir -p /mnt/var/log/spark
sudo chmod a+rw /mnt/var/log/spark
touch /mnt/var/log/spark/spark.log

# Continue only if master node
if [ "$IS_MASTER" = false ]; then
exit
fi

# Setup R environment
cd /mnt
wget -nc https://mran.microsoft.com/install/RRO-3.2.1-el6.x86_64.tar.gz
Expand Down