Skip to content

AWS Glue local lnteractive sessions for Ray: no kernel

0

Hi,

I'm attempting to create a Ray glue interactive session, Based on the announcement blog post a couple years back, it looks like local interactive sessions should be supported for Ray jobs. In fact, using Jupyter notebooks locally is the example they go through.

For our development environment, we use a Jupyter notebook to run the code.

You’re required to install the AWS Glue interactive sessions locally or run interactive sessions with an AWS Glue Studio notebook. Using AWS Glue Interactive sessions will help you follow and run the series of demonstration steps.

The instructions link to this page in the docs, which instructs you to pip install aws-glue-sessions and run install-glue-kernels. When I do so, only the glue_pyspark and glue_spark kernels are installed (neither of which work for Ray jobs).

What am I missing here? Was this functionality removed?

  • I also poked around in the AWS console and there appears to be no way to start an interactive notebook in Glue Studio either. Only script jobs seem available

asked a year ago137 views
1 Answer
1
Accepted Answer

Hi,

From the docs, https://pypi.org/project/aws-glue-sessions/1.0.6/ => support for the glue_ray session was removed starting from aws-glue-sessions 1.0.6 and above, so if you want to use glue_ray session use aws-glue-sessions 1.0.5 or below.

check change log in https://pypi.org/project/aws-glue-sessions/1.0.6/ for wording => v1.0.6 (2024-05-23) Removed glue_ray session type and related magics.

Further, It is recommended to migrate your AWS Glue to Ray on Elastic Compute Cloud (Amazon EC2)[1] or Ray on Amazon SageMaker[2].

[1] https://docs.ray.io/en/latest/cluster/vms/user-guides/launching-clusters/aws.html [2] https://aws.amazon.com/blogs/opensource/scaling-ai-and-machine-learning-workloads-with-ray-on-aws/

Thank you!

AWS
SUPPORT ENGINEER
answered a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.