big-data-lab-umbc / Reproducible_and_portable_app_in_cloud

A toolkit to deploy, execute, analyze, and reproduce big data analytics automatically in the cloud.
6 stars 6 forks source link

Task timed out after 900.10 seconds #14

Open C4rohan opened 1 year ago

C4rohan commented 1 year ago

When the app tries to run docker pull command , the docker takes too long to pull and hence falls into timeout .

Here is the cloudwatch details /aws/lambda/rpacautoanalytics-CloudPhasePrediction-74TJZCkLzKdG

C4rohan commented 1 year ago

I tried editing the 900 seconds to 10000 , but the aws didnt allow it ..

image
jianwuwang commented 1 year ago

Not sure whether "docker pull" command takes too long or the toolkit does not know what to do after docker pull. @C4rohan tested dock pull command on the EC2 instance. It finishes in a reasonable time.

starlyxxx commented 1 year ago

As this link said, the maximum invocation timeout limit is 15 minutes (900 seconds). @C4rohan

starlyxxx commented 1 year ago

I have no idea why this "docker pull" command takes that long time. Does this docker image (rohansalvi98/cloudphaseprediction) set in the public repository?

C4rohan commented 1 year ago

Yes it is a public image. Do you think its a hardware issue (maybe if I set up a better cpu and ssd space )?.. But I tried running the code manually by opening a instance and executing it, and it doesnt take that long.

starlyxxx commented 1 year ago

I tried your docker image on my local machine. It showed the permission problem.

image

C4rohan commented 1 year ago

hey try this docker pull rohansalvi98/cloudpredictionphase:latest

starlyxxx commented 1 year ago

I have tried your new docker image. It takes a very long time then got stuck.