AWS Glue Help Wanted - Environment lost Missing gs_unpivot.py and gs_common.py files

0

Hi, I have recently started working with AWS Glue. I have created a Visual ETL job and it ran successfully. I noticed it had somehow created an extra S3 bucket instead of using the desired bucket I had created to store the scripts. In the job details, I changed the paths to use the preferred bucket and re-ran the job. I deleted the original bucket before the job had run and my job failed due to missing gs_unpivot.py and gs_common.py files. These are AWS files as no one in my company has created them (I'm the first to use AWS glue). Where can I now get these files from to restore my environment?

gefragt vor 3 Monaten131 Aufrufe
1 Antwort
1
Akzeptierte Antwort

Those files are provided by the Glue service on public regional buckets.
When you build a visual job, Glue Studio will automatically add those imports for you, if you copy code that uses those features on your script job, you can to copy the imports as well.
If you lost the visual job, just create and save a new one (on the same region) that uses the transform, once created copy the imports on the "Python library path" on the Job details.

profile pictureAWS
EXPERTE
beantwortet vor 3 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten
  • I've just spoken to a very nice AWS support person who identified the problem was because I was updating the Python import library location in the job details and I should leave that as default unless I have additional libraries to reference.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen