If s3 bucket name contains dot(e.g. s3a://my.production.bucket/), it throws the following error.
javax.net.ssl.SSLPeerUnverifiedException: Certificate for <my.production.bucket.s3.amazonaws.com> doesn't match any of the subject alternative names: [*.s3.amazonaws.com, s3.amazonaws.com]
Issue #, if available:
If s3 bucket name contains
dot
(e.g. s3a://my.production.bucket/), it throws the following error.See more detail here: https://issues.apache.org/jira/browse/HADOOP-18159
Description of changes:
By resolving this issue, enable
spark.hadoop.fs.s3a.path.style.access
in config file.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.