awslabs / amazon-s3-tagging-spark-util

Apache License 2.0
10 stars 2 forks source link

Not picking up fs.s3a.stsAssumeRole.arn property #3

Open vatsalvora opened 2 years ago

vatsalvora commented 2 years ago

We are trying to use the Hadoop config to assume a role when writing/reading to s3. The library is not assuming the role when reading/writing to s3.

rumeshkrish commented 2 years ago

@vatsalvora Can you please provide more details on the use case. ? Alternatively I hope you can enable Glue Service Role with tagging permission to use this library.

mgerlach commented 5 months ago

Likewise, fs.s3.customAWSCredentialsProvider (Spark configuration) and fs.s3.authorization.roleMapping (EMR cluster emrfs-site configuration) are not being picked up.

Context:

Now, when using format("s3.parquet"), we get "access denied" errors and no files are written to the other account.

Like this, writing and tagging work only when writing to local (same account) S3 buckets.

(Let me know if you prefer (a) separate issue(s) for this.)