- Newest
- Most votes
- Most comments
Hello,
AWS Glue interactive session is currently in preview, the documentation is reflecting the steps that will need to be run once it is general available.
At the moment, you need still to run a manual step before you start the notebook the first time:
- add the service model included with the install to botocore.
With your venv active run:
SITE_PACKAGES=$(pip3 show aws-glue-sessions | grep Location | awk '{print $2}')
cp $SITE_PACKAGES/aws_glue_interactive_sessions_kernel/service-2.json $SITE_PACKAGES/botocore/data/glue/2017-03-31/service-2.json
hope this helps
Interactive Glue Sessions are now generally available. I made a step-by-step video tutorial on how to configure it to develop locally in pycharm for anyone who wants to follow along. https://youtu.be/04LMQxDxjGM
You can also look at the blog post https://aws.amazon.com/blogs/big-data/author-aws-glue-jobs-with-pycharm-using-aws-glue-interactive-sessions/ and at the documentation to know how to integrate it with VS code https://docs.aws.amazon.com/glue/latest/dg/interactive-sessions-vscode.html
/Can the same thing be done on Colab
Hello, I have a similar issue. I follow the guidelines to install jupyter notebook (https://docs.aws.amazon.com/glue/latest/dg/interactive-sessions.html) in a WSL Ubuntu 22.04 and when I try create a session I got the message: Session failed to reach READY instead reaching terminal state FAILED. Current session is in an unhealthy terminal state. If you wish to create a new session use %stop_session before executing any further statements.
pip -V
pip 23.3.2 from /home/user/.local/lib/python3.10/site-packages/pip (python 3.10)
pip list
aws-glue-sessions 1.0.4
aws-requests-auth 0.4.3
boto3 1.34.21
botocore 1.34.21
jupyter 1.0.0
jupyter_client 8.6.0
jupyter-console 6.6.3
jupyter_core 5.7.1
jupyter-events 0.9.0
jupyter-lsp 2.2.2
jupyter_server 2.12.5
jupyter_server_terminals 0.5.1
jupyterlab 4.0.10
jupyterlab_pygments 0.3.0
jupyterlab_server 2.25.2
jupyterlab-widgets 3.0.9
I tried installing directly on Ubuntu and on a virtualenv but I always get the same error.
Hello, after some investigation, the issue happens only when I add the «%extra_jars» and/or «%additional_python_models» option(s).
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 years ago
I tried these steps, but in aws_glue_interactive_sessions_kernel folder, I do not have the service-2.json file.