Skip to content

How to increase timeout limit in batch transform jobs?  #77

Closed
@velociraptor111

Description

@velociraptor111

I have configured my batch transform job to download a video file from S3, then processing it frame by frame.

I currently am getting this error due to timeout

2019-11-05 14:56:03,201 [INFO ] W-9000-model com.amazonaws.ml.mms.wlm.WorkerThread - Backend response time: 60001
2019-11-05 14:56:03,201 [ERROR] W-9000-model com.amazonaws.ml.mms.wlm.WorkerThread - Number or consecutive unsuccessful inference 1
2019-11-05 14:56:03,202 [ERROR] W-9000-model com.amazonaws.ml.mms.wlm.WorkerThread - Backend worker error
com.amazonaws.ml.mms.wlm.WorkerInitializationException: Backend worker did not respond in given time
#011at com.amazonaws.ml.mms.wlm.WorkerThread.run(WorkerThread.java:142)
#011at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
#011at java.util.concurrent.FutureTask.run(FutureTask.java:266)
#011at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
#011at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
#011at java.lang.Thread.run(Thread.java:748)
2019-11-05 14:56:03,204 [INFO ] W-9000-model ACCESS_LOG - /169.254.255.130:52498 "POST /invocations HTTP/1.1" 500 60008

I have went over the doc multiple times and only got this https://docs.aws.amazon.com/sagemaker/latest/dg/API_runtime_InvokeEndpoint.html where it says for InvokeEndpoint the timeout is 60 Seconds. Also here https://docs.aws.amazon.com/en_pv/sagemaker/latest/dg/API_CreateTransformJob.html it doesn't specify any parameter to increase timeout for batch transform jobs.

But it doesn't tell me how to increase the timeout from parameter? Please advise on how to to achieve this.

EDIT
FYI, the approximate time I will need to process each input is around 2-3 minutes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions