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?

已提問 3 個月前檢視次數 133 次
1 個回答
1
已接受的答案

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
專家
已回答 3 個月前
profile picture
專家
已審閱 2 個月前
  • 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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南