From 762cf1a8c6e521258e12cae7dc57c44407a82b05 Mon Sep 17 00:00:00 2001 From: Jeff Klukas Date: Tue, 9 Oct 2018 14:13:56 -0400 Subject: [PATCH] Ensure write permissions on spark.log --- ansible/files/bootstrap/telemetry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/files/bootstrap/telemetry.sh b/ansible/files/bootstrap/telemetry.sh index 1e5eaa0..48079b2 100755 --- a/ansible/files/bootstrap/telemetry.sh +++ b/ansible/files/bootstrap/telemetry.sh @@ -223,8 +223,8 @@ 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 +sudo chmod --recursive a+rw /mnt/var/log/spark # Continue only if master node if [ "$IS_MASTER" = false ]; then