aws / aws/amazon-sagemaker-examples
1_dataprep_dw_job_predmaint.ipynb failed CI
- 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/1_dataprep_dw_job_predmaint.ipynb
Error:
---------------------------------------------------------------------------
Exception encountered at "In [4]":
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
in
6 # get the Data Wrangler container associated with our region
7 region = boto3.Session().region_name
----> 8 container_uri = get_dw_container_for_region(region)
9
10 dw_output_path_prm = output_path
/opt/ml/processing/input/demo_helpers.py in get_dw_container_for_region(region_in)
53 Get the Data Wrangler container based on the given region
54 '''
---> 55 container_uri = dw_container_dict[region_in]
56 return container_uri
KeyError: 'us-west-2'
Contributor guide
Research direction
Open the linked notebook and inspect In [4], then trace get_dw_container_for_region in /opt/ml/processing/input/demo_helpers.py and its dw_container_dict lookup. Verify the us-west-2 case and rerun the notebook or CI check; done means the reported KeyError no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook, python
- Domain
- cloud, machine-learning, testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100