Louis Cameron Booth
08/16/2024, 3:01 PMAccessDenied: ...1722425503684/: Access Denied
Bulk delete operation failed to delete all objects; failure count = 1
org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteSupport.translateDeleteException(MultiObjectDeleteSupport.java:92)
I thought this was todo with a dependecy i wasn’t using flink-s3-fs-hadoop
, so I removed that and still see these thousands of warning logs. I can’t see where in my code I would be calling this application or trying to perform a delete in this way.Ahmed Hamdy
08/16/2024, 3:12 PMLouis Cameron Booth
08/16/2024, 3:12 PMLouis Cameron Booth
08/16/2024, 3:15 PM{
"content": {
"host": "/aws/kinesis-analytics/flink",
"message": "AccessDenied: 7b3d0a3681dfd0b918d30888438b019f-946374002659-1722425503684/: Access Denied",
"attributes": {
"messageType": "WARN",
"service": "stream-deactivation-us-ash",
"locationInformation": "org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteSupport.translateDeleteException(MultiObjectDeleteSupport.java:107)",
"logger": "org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteSupport",
"messageSchemaVersion": "1",
"host": "/aws/kinesis-analytics/flink",
"id": "38442495305608014481312845103217598507977785145102172165",
"applicationVersionId": "4",
"threadName": "s3a-transfer-3db4bd0e0168751d35dc925c1fa9414b79d097b8-unbounded-pool2-t86",
"timestamp": 1723821108370
}
}
}
Louis Cameron Booth
08/16/2024, 3:16 PM{
"content": {
"message": "Bulk delete operation failed to delete all objects; failure count = 1",
"attributes": {
"messageType": "WARN",
"locationInformation": "org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteSupport.translateDeleteException(MultiObjectDeleteSupport.java:92)",
"logger": "org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteSupport",
"messageSchemaVersion": "1",
"applicationVersionId": "4",
"threadName": "s3a-transfer-3db4bd0e0168751d35dc925c1fa9414b79d097b8-unbounded-pool2-t98",
"timestamp": 1723821288239
}
}
}
Louis Cameron Booth
08/22/2024, 11:42 AMs3:Delete*
IAM permissions to my roles, but I’m not sure I understand which s3 buckets the flink job is trying to write to 🤔Louis Cameron Booth
08/22/2024, 12:13 PMBulk delete operation failed to delete all objects; failure count = 1
errors from the org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteSupport
logger. As a test I gave my Flink job on aws full delete permissions, I am still getting the warning log every minute or so:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Statement1",
"Effect": "Allow",
"Action": [
"s3:Delete*"
],
"Resource": "*"
}
]
}
Just wondering where this comes from, and which s3 bucket it is trying to write to…Ahmed Hamdy
08/22/2024, 12:21 PMLouis Cameron Booth
08/22/2024, 12:24 PMLouis Cameron Booth
08/22/2024, 1:07 PM{
"id": "AgAAAZF6LZOSU5DtngAAAAAAAAAYAAAAAEFaRjZMWm5CQUFCVFhEaUl6Z0VwTEFBQQAAACQAAAAAMDE5MTdhMmQtYWUwYS00YmNlLThlYTEtODg3ZTUzODI1Y2Jh",
"content": {
"timestamp": "2024-08-22T13:01:32.946Z",
"message": "Committing 7b3d0a3681dfd0b918d30888438b019f-946374002659-1722425503684/checkpoints/7b3d0a3681dfd0b918d30888438b019f/chk-17/_metadata with MPU ID afQOxbeG84HLeNBL5Mi_nxzS046xQ.s7W9t2c9E7Hf5CaHpThEHvy_.fzikHtaCuKIILFFB.80XEYOK59WcEgboxanYI7ari20JWcN7.aR1jRqv3uRac56ZBzbnkCvsRpHb5KcRh6mhylUELdXBkNf._tDYq93PHF4C3qQCNej4-",
"attributes": {
"messageType": "INFO",
"locationInformation": "org.apache.flink.fs.s3.common.writer.S3Committer.commit(S3Committer.java:67)",
"logger": "org.apache.flink.fs.s3.common.writer.S3Committer",
"messageSchemaVersion": "1",
"id": "38453881722139690275353199166317417160391698146809085952",
"applicationVersionId": "5",
"threadName": "jobmanager-io-thread-1",
"timestamp": 1724331692946
}
}
}
Ahmed Hamdy
08/22/2024, 1:08 PMLouis Cameron Booth
08/22/2024, 1:09 PMLouis Cameron Booth
08/22/2024, 1:09 PMAhmed Hamdy
08/22/2024, 1:17 PMLouis Cameron Booth
08/22/2024, 2:12 PMLouis Cameron Booth
08/22/2024, 2:12 PMLouis Cameron Booth
08/22/2024, 2:12 PM