Troubleshooting S3 and S3Guard
It can be a bit troublesome to get the S3A connector to work, with classpath and authentication being the usual trouble spots. Use the tips provided in the following links to troubleshoot errors.
S3: https://aws.amazon.com/premiumsupport/knowledge-center/
S3Guard: https://hadoop.apache.org/docs/current3/hadoop-aws/tools/hadoop-aws/troubleshooting_s3a.html