aws / aws/amazon-sagemaker-examples
03_Ingest_data_with_Redshift_v3.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/ingest_data/03_Ingest_data_with_Redshift_v3.ipynb
Error:
---------------------------------------------------------------------------
Exception encountered at "In [9]":
---------------------------------------------------------------------------
NoSuchEntityException Traceback (most recent call last)
in
1 #get role arn
----> 2 role_rs = iam.get_role(RoleName='Tabular_Redshift')
3 iam_role_redshift_arn = role_rs['Role']['Arn']
4 print('Your Role arn used to create a Redshift Cluster is: {}'.format(iam_role_redshift_arn))
/opt/conda/lib/python3.7/site-packages/botocore/client.py in _api_call(self, *args, **kwargs)
355 "%s() only accepts keyword arguments." % py_operation_name)
356 # The "self" in this scope is referring to the BaseClient.
--> 357 return self._make_api_call(operation_name,
[...]
NoSuchEntityException: An error occurred (NoSuchEntity) when calling the GetRole operation: The role with name Tabular_Redshift cannot be found.
Contributor guide
Research direction
Open ingest_data/03_Ingest_data_with_Redshift_v3.ipynb and inspect cell In [9], where iam.get_role looks up the Tabular_Redshift role. Check how the notebook's IAM role and Redshift setup are expected to be provided, then rerun the notebook's CI validation. Done means the notebook no longer fails with NoSuchEntityException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook, python
- Domain
- cloud, data, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100