Skip to content

SageMaker CreateTransformJob Errors Out #9

Description

@ryan-token

Hi there! Love the AWS Bites podcast. Thank you for open-sourcing this work.

Currently, the SageMaker CreateTransformJob is failing for me. Here's what my state machine graph looks like:
Screenshot 2023-03-29 at 10 59 02 PM

You'll notice that the HeadObject Whisper Output step fails as well. I assume these two issues are related. I've detailed both for you below.

  1. The HeadObject Whisper Output error message is an S3.NoSuchKeyException. And I can confirm that there is no whisper-batch-output/file.json object within the bucket specified. How is that supposed to get written? Here's the full error:
{
  "resourceType": "aws-sdk:s3",
  "resource": "headObject",
  "error": "S3.NoSuchKeyException",
  "cause": "null (Service: S3, Status Code: 404, Request ID: PCFHSWJ9ZXYPKDGS, Extended Request ID: 77ZfX0HJkW9HKcRD7/ivT6PJg38uwVNxriDd661AkjgDxRyZH4qZdJpvnFjAT7xLOSiuhhJBLlc=) (Service: S3, Status Code: 404, Request ID: PCFHSWJ9ZXYPKDGS)"
}
  1. The SageMaker CreateTransformJob error message in CloudWatch simply says exec /app/serve: exec format error. There are a few ideas online as to what might cause this, but I'm out of my wheelhouse here. And for all I know, this could be caused by the HeadObject Whisper Output error listed above.

Any idea on what could be going wrong? Happy to provide any additional information that might be helpful. I did take what you have here and adjust it to work with the Serverless Framework instead of AWS SAM - so something may have simply gotten lost in translation.

Thanks again for publishing this!

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