You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
Traceback (most recent call last):
File "/tmp/runscript.py", line 115, in <module>
runpy.run_path(temp_file_path, run_name='__main__')
File "/usr/local/lib/python3.6/runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "/usr/local/lib/python3.6/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmp/glue-python-scripts-7tb3qep1/tests.html", line 2, in <module>
ModuleNotFoundError: No module named 'awsglue.transforms'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/runscript.py", line 134, in <module>
raise e_type(e_value).with_tracsback(new_stack)
AttributeError: 'ModuleNotFoundError' object has no attribute 'with_tracsback'
The reason is due to ETL language is "Spark", but not "Python".
Please modify the document, thanks
The text was updated successfully, but these errors were encountered:
I fully support the observation, examples for using GLUE with python shell scripts are not correct, it would be good to get a proper and accurate example.
Thanks a lot
I agree, the indications to add libraries are totally misleading and the error reported as 'ModuleNotFoundError' don't help to find where AWS was looking...
As it is clearly not looking at the location provided, go figure!
Traceback (most recent call last):
File "/tmp/runscript.py", line 115, in <module>
runpy.run_path(temp_file_path, run_name='__main__')
File "/usr/local/lib/python3.6/runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "/usr/local/lib/python3.6/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmp/glue-python-scripts-7tb3qep1/tests.html", line 2, in <module>
ModuleNotFoundError: No module named 'awsglue.transforms'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/runscript.py", line 134, in <module>
raise e_type(e_value).with_tracsback(new_stack)
AttributeError: 'ModuleNotFoundError' object has no attribute 'with_tracsback'
The reason is due to ETL language is "Spark", but not "Python".
Please modify the document, thanks
so how do i fix the error
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When you create first glue ETL job in lab1, you may encounter an error as below:
The reason is due to ETL language is "Spark", but not "Python".
Please modify the document, thanks
The text was updated successfully, but these errors were encountered: