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 个月前132 查看次数
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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则