I using kubernetes cluster with one master and two slaves, i am accessing s3 bucket using "IAM role and policies and for slaves, in kubernetes slaves running 3 executors, in which i am facing problem with 1 executor with S3 access denied error,
Please find the following error
2021-11-09 12:28:45,623 [start-__home] INFO c.d.plugins.s3.store.S3FileSystem - User Error Occurred [ErrorId: 2411b7d8-c90e-4595-a1ae-072e5c31060d]
com.dremio.common.exceptions.UserException: Access was denied by S3
at com.dremio.common.exceptions.UserException$Builder.build(UserException.java:885)
at com.dremio.plugins.s3.store.S3FileSystem$BucketCreator$1.create(S3FileSystem.java:477)
at com.dremio.plugins.util.ContainerFileSystem$FileSystemSupplier.get(ContainerFileSystem.java:245)
at com.dremio.plugins.util.ContainerFileSystem$ContainerHolder.fs(ContainerFileSystem.java:203)
at com.dremio.plugins.util.ContainerFileSystem.mkdirs(ContainerFileSystem.java:475)
at com.dremio.exec.hadoop.HadoopFileSystem.mkdirs(HadoopFileSystem.java:279)
at com.dremio.dac.homefiles.HomeFileSystemStoragePlugin.start(HomeFileSystemStoragePlugin.java:105)
at com.dremio.exec.catalog.ManagedStoragePlugin.lambda$newStartSupplier$1(ManagedStoragePlugin.java:546)
at com.dremio.exec.catalog.ManagedStoragePlugin.lambda$nameSupplier$3(ManagedStoragePlugin.java:614)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: AWGZ8S635GAWG5B9; S3 Extended Request ID: N2aIi9ztBk2I1QHtNAtL7X+eGpuodpFPmQxrYBLlVnGcAROIed2syMyJ6xO1n+C+DdhpGSWOx48=; Proxy: null)
kindly check and advise us, thanks.