Accessing huge file using AWS Lambda

0

The size of my S3 file is around 50MB and has 476K record count in it. When this file is placed inside the S3, the Lambda process is not getting triggered due to file size. When i reduced the file size to 7.5MB (70 record count), the S3 event was initiated and Lambda process worked s expected. In Lambda "general config" section, Memory is 1024MB, Ephemeral storage is 512 MB & time out is 8min. What should I do here? Can anyone please help me here?

Joe
已提问 7 个月前370 查看次数
2 回答
0
已接受的回答

This Issue is also filed. After changing the S3 Event type to "All Object Create Events" I was able to process the huge file (230MB) also.

Joe
已回答 7 个月前
0

The S3 trigger should invoke the Lambda function regardless of the file size uploaded. Can you confirm in CloudWatch logs that the Lambda is not invoked at all. The more likely scenario is that either the S3 object is not being successfully uploaded, or that the Lambda function is in fact being invoked but experiencing an error during execution. If confident neither of these scenarios apply, please provide some additional context into how the S3 trigger was created.

AWS
已回答 7 个月前
  • The S3 file was uploaded successfully. It is a CSV file of file size 49.9MB. The Lambda file was not invoked and I did not see any entry in Cloud Watch logs. When the file size was reduced (<8MB) and uploaded, the next second, I got an entry in Cloud Watch logs and my Glue job got triggered immediately. "how the S3 trigger was created" -- Are you asking for any specific setting in it? Below are the settings we have provided (It is done by Admin and I do not have any control on these trigger setting): Bucket arn, Event Types (PUT, POST, COPY), Notification Name, Prefix (folder1/folder2/), Service Principal, Source Account, Statement ID (ddh-dms-glue-roles-DDHGlueLambdaPermission-asdeftgyhPUi)

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容