I have two clusters deployed: US and EU-Frankfort with the same configs on AWS.
And the application in EU-Frankfort cannot save data to EU-Frankfort-s3, but US one can save to US-s3.
And I checked and found that EU-Frankfort supports Signature Version 4 only: http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
Code I'm using:
So from my issue I guess saveAsTextFile() is using Signature Version 2? How to support Version 4?