Skip to content

Glue Job Communications link failure, MariaDB

2

I was running glue job to process data from MariaDB inside VPC. Recently my glue job get "com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure" although it was running fine before. My preliminary research is this due to it cant connect to DB, but Glue Connection and Glue Crawler works fine, only when using job that it get the above error.

My theory is this issue is due to MariaDB auto update (minor versions). I'm stuck and couldn't find a solution. Any people using MariaDB experience the same?

  • Have you solved the issue?

    I'm facing the same issue. RDS and Redshift connections are successful. Crawlers can crawl data. Glue job fails with Communications link failure error.

asked 3 years ago663 views

2 Answers
1

Yes, I am also stuck and facing the same issue for last 10 days. When I am testing the Glue connection it is showing successful and crawler can crawl the data but Glue job fails with Communications link failure error.

answered 3 years ago

  • Did you manage to solve the problem? If it doesn't work, I'll have to migrate from MariaDB to MySQL.

0

Solution Found!

If you can successfully crawl your RDS instance using AWS Glue crawlers, it indicates that your VPC configurations are correct. The next step is to create a VISUAL ETL job using GLUE and utilize the custom JDBC connection to connect to your RDS instance, which should work seamlessly.

When creating a Glue ETL job with a Spark script, ensure that you specify your custom connection in the job details of your ETL. Once this is done, the job should function correctly.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.