aws / aws/amazon-sagemaker-examples

machine_learning_workflow_abalone.ipynb failed CI

Open
#2,430 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/step-functions-data-science-sdk/machine_learning_workflow_abalone/machine_learning_workflow_abalone.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [16]":
---------------------------------------------------------------------------
InvalidArn Traceback (most recent call last)
in
----> 1 workflow.create()

/opt/conda/lib/python3.7/site-packages/stepfunctions/workflow/stepfunctions.py in create(self)
203
204 try:
--> 205 self.state_machine_arn = self._create()
206 except self.client.exceptions.StateMachineAlreadyExists as e:
207 self.state_machine_arn = self._extract_state_machine_arn(e)

/opt/conda/lib/python3.7/site-packages/stepfunctions/workflow/stepfunctions.py in _create(self)
215 definition=self.definition.to_json(pretty=self.format_json),
216 roleArn

[...]

InvalidArn: An error occurred (InvalidArn) when calling the CreateStateMachine operation: Invalid Role Arn: ''

Contributor guide

Open the contributing guide

Research direction

Open machine_learning_workflow_abalone/machine_learning_workflow_abalone.ipynb and inspect In [16], where workflow.create() fails. Reproduce the notebook run and trace how the execution role reaches the CreateStateMachine call. Done means the notebook no longer fails with Invalid Role Arn during workflow creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.