aws / aws/amazon-sagemaker-examples

dw_job.ipynb failed CI

Open
#2,418 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/use-cases/predmaint/dw_flow/dw_job.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [4]":
---------------------------------------------------------------------------
ClientError Traceback (most recent call last)
/opt/conda/lib/python3.7/site-packages/boto3/s3/transfer.py in upload_file(self, filename, bucket, key, callback, extra_args)
278 try:
--> 279 future.result()
280 # If a client error was raised, add the backwards compatibility layer

/opt/conda/lib/python3.7/site-packages/s3transfer/futures.py in result(self)
105 # out of this and propogate the exception.
--> 106 return self._coordinator.result()
107 except KeyboardInterrupt as e:

/opt/conda/lib/python3.7/si

[...]

S3UploadFailedError: Failed to upload prm.flow to sagemaker-fleet-prm-soln/data_wrangler_flows/flow-11-00-07-34-0b568079.flow: An error occurred (AccessDenied) when calling the PutObject operation: Access Denied

Contributor guide

Open the contributing guide

Research direction

Open use-cases/predmaint/dw_flow/dw_job.ipynb and reproduce the failure at In [4]. Inspect the S3 upload of prm.flow to the sagemaker-fleet-prm-soln bucket and the permissions involved in the AccessDenied error. Done means the notebook no longer fails CI at that upload step.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.