简体   繁体   English

AWS Glue python shell 作业因内部服务错误而失败

[英]AWS Glue python shell Job fails with Internal Service error

I am running a python shell program in AWS Glue but after running for around 10 minutes its failing with error Internal service error .我正在 AWS Glue 中运行一个 python shell 程序,但是在运行大约 10 分钟后它失败了,错误为Internal service error The logs or error logs does not give any information.日志或错误日志不提供任何信息。 Most of the time it fails by just saying Internal service error and rarely it runs for 2 days and gets timed out.大多数情况下,它只是说Internal service error而失败,很少会运行 2 天并超时。 The code uses pandas for transformations and it looks ok, it runs fine on local machine, necessary changes done so that it works on AWS glue[where it read/write files to s3 location instead of local folder].代码使用 Pandas 进行转换,它看起来不错,它在本地机器上运行良好,完成了必要的更改,以便它在 AWS 胶水上工作[将文件读/写到 s3 位置而不是本地文件夹]。 What could be wrong here?这里可能有什么问题? Any input is appreciated.任何输入表示赞赏。

This issue was figured out.这个问题想通了。 The problem was the job was unable to download the dependent python libraries due to an access issue to the s3 bucket.问题是由于对 s3 存储桶的访问问题,该作业无法下载相关的 Python 库。 Once the access issue was resolved the job started running fine.访问问题解决后,作业开始正常运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM