aws / aws/amazon-sagemaker-examples

handling_kms_encrypted_data.ipynb failed CI

Open
#2,494 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/advanced_functionality/handling_kms_encrypted_data/handling_kms_encrypted_data.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [6]":
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
in
3 data_train = open(train_file, 'rb')
4 key_train = '{}/train/{}'.format(prefix,train_file)
----> 5 kms_key_id = kms_key_arn.split(':key/')[1]
6
7 print("Put object...")

IndexError: list index out of range

Contributor guide

Open the contributing guide

Research direction

Open advanced_functionality/handling_kms_encrypted_data/handling_kms_encrypted_data.ipynb and inspect cell In [6], starting with the reported kms_key_arn parsing failure. Reproduce the notebook or CI failure, then verify that the notebook completes without this IndexError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.