I have an AWS glue job with Spark UI enabled by following this instruction: Enabling the Spark UI for Jobs
The glue job has s3:* access to arn:aws:s3:::my-spark-event-bucket/* resource. But for some reason, when I run the glue job (and it successfully finished within 40-50 seconds and successfully generated the output parquet files), it doesn't generate any spark event logs to the destination s3 path. I wonder what could have gone wrong and if there is any systematic way for me to pinpoint the root cause.
Amazon S3 prefix for Spark event logshas the expected S3 path as you check at the end of a running. It also worth you check if the event log has been created on theS3 path where the script is storedor not. - Amir Maleki/tmp/spark-event-logs/calledspark-application-1612277620995.inprogressbut at the end the logs are not visible in the specified bucket. I've tried giving more permissions to the glue IAM role but that doesn't help. I've tried it in different accounts too but it doesn't work. - Machiel