ConnectionRefusedError: [Errno 111] Connection refused

0

While running a glue job, when writing parquet files encountered the following error Error : ConnectionRefusedError: [Errno 111] Connection refused I tried running it by increasing the number of workers, but it was no help. Could someone help me with the same Thanks

  • Find the stacktrace in the log to try to figure out what is trying to connect to what

已提問 1 年前檢視次數 1445 次
1 個回答
0

Hi,

I understand that you are facing the “ConnectionRefusedError” while running your glue job. This can happen because of multiple reasons.

  1. If you are using any glue connection in your job then please ensure that the “test connection” is successful.

  2. Please check the CloudWatch Logs to see if there is any specific error other than the “ConnectionRefusedError”.

  3. If you are observing the "Max number of executor failures reached" error or any errors that shows that this could be a memory issue then please make sure you are using the “G.2X” worker type as this is the largest worker type available for Glue ETL jobs. If you still face the memory issues even after this then you would need to look further into optimising the glue script. Please refer to the following documentation for more details on the same -

    https://aws.amazon.com/blogs/big-data/optimize-memory-management-in-aws-glue/

  4. If the issue still persist, then please open a support case with AWS Glue providing the connection details along with the Job Run Id and Region - https://docs.aws.amazon.com/awssupport/latest/user/case-management.html#creating-a-support-case

Thank you.

AWS
支援工程師
已回答 1 年前

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

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

回答問題指南