-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Running sparkmagic notebook in sagemaker lifecycle script #760
Comments
Hi @byteford thanks for making an issue and sorry you are running into issues. A few follow up questions
|
Hey, Is there a link to how to use %%configure to set up the IP address as cant seam to find it? |
I don't have documentation on configuring an IP address with Also, at a glance this script is doing exactly what papermill is design and tested for. Can you try use papermill and see if you still run into the issue? If you still see the issue with papermill, then it's something to do with the environment of the lifecycle script. I'm not familiar enough with SageMaker to give more specific advice. |
That you for the information, the |
Describe the bug
Through sagemaker notebooks I am trying to run a sparkmagic notebook (to talk to an emr) via nbconvert inside of the lifecycle script that runs during start up. It looks like it isn't picking up the config file.
If I wait till after sagemaker has started it all connects and works fine.
I know this sounds like a sagemaker issue, but aws aren't being any help so was hoping someone has an idea here.
To Reproduce
Run a python script in sagemaker lifecycle that uses nbconvert to run a sparkmagic notebook that tries to talk to a emr cluster
The text was updated successfully, but these errors were encountered: