aws / aws/graph-notebook

getting error on identity graph notebook complaining about neptune_python_utils.zip

Open
#723 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
819
Forks
179
PR merge metrics
No merged PRs in 30d

Description

when running
graph-notebook/src/graph_notebook/notebooks/01-Neptune-Database/03-Sample-Applications/03-Identity-Graphs/03-Jumpstart-Identity-Graphs-Using-Canonical-Model-and-ETL/03-Jumpstart-Identity-Graphs-Using-Canonical-Model-and-ETL.ipynb

i am getting error

in code
response = glue_utils_obj.startjob("job_demographics")
jobrunid = response['JobRunId']
glue_utils_obj.checkjobstatus("job_demographics",jobrunid)

all glue job version from 2/3/4/5 are giving the errors

the error in cloudwatch says

INFO 2025-01-08T23:30:48,988 37709 com.amazonaws.services.glue.PythonModuleInstaller [main] STDError Stream ERROR: file:///tmp/glue-job-4025901185104101360/neptune_python_utils.zip does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

LAUNCH ERROR | Installation of Additional Python Modules failed, please see the logs for more detailsPlease refer logs for details.

ERROR 2025-01-08T23:30:48,998 37719 com.amazonaws.services.glue.GlueBootstrap [main] Bootstrapping failed
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.amazonaws.services.glue.GlueBootstrap.invokeMainMethod(GlueBootstrap.java:325) ~[EMRGlueBootstrap-5.0-jar-with-dependencies.jar:5.0]
at com.amazonaws.services.glue.GlueBootstrap.launchPrepareStageOnDriver(GlueBootstrap.java:299) ~[EMRGlueBootstrap-5.0-jar-with-dependencies.jar:5.0]
at com.amazonaws.services.glue.GlueBootstrap.bootstrap(GlueBootstrap.java:75) ~[EMRGlueBootstrap-5.0-jar-with-dependencies.jar:5.0]
at com.amazonaws.services.glue.GlueBootstrap.main(GlueBootstrap.java:60) [EMRGlueBootstrap-5.0-jar-with-dependencies.jar:5.0]
Caused by: java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke

Contributor guide

Open the contributing guide

Research direction

Start with the 03-Jumpstart-Identity-Graphs-Using-Canonical-Model-and-ETL.ipynb notebook and the code that calls glue_utils_obj.startjob("job_demographics"). Review the CloudWatch output for the neptune_python_utils.zip installation failure, then run the affected Glue jobs across versions 2–5; done means the notebook’s identity-graph ETL jobs start and complete without the reported bootstrap error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
cloud, data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.