AWS Glue job failed while connecting to aws glue cause of timeout

0

Hello,

I have an AWS Glue job that is only supposed to perform an SQL query on the current status. Unfortunately, I always get the following error: "Error Category: QUERY_ERROR; AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: com.amazonaws.SdkClientException: Unable to execute HTTP request: Connect to glue.eu-central-1.amazonaws.com:443 [glue.eu-central-1.amazonaws.com/10.0.0.16, glue.eu-central-1.amazonaws.com/10.0.1.167] failed: connect timed out"

Now I have read in a few articles that the VPC endpoint must be configured for this. Unfortunately, this has hardly any effect on my problem.

I have the following setup for debugging:

  • 1x VPC
  • 1x RDS in VPC
  • 1x AWS Glue with Dataconnection in the VPC
  • 1 x EC2 instance in the VPC
  • 1 x VPC interface endpoint to aws glue

When I execute telnet glue.eu-central-1.awsamazon.com 443 in the ec2 instance I get the following error: telnet: glue.eu-central-1.awsamazon.com: Name or service not known

If I run the command without an active VPC endpoint I get the same error but much later. I also see the same in the AWS glue runs. A run with the VPC endpoint runs for about 2.5 minutes a run without VPC endpoint runs for about 8.5 minutes

1개 답변
0

You are testing "awsamazon.com" instead of "amazonaws.com", try to trace why the endpoint is not reachable

profile pictureAWS
전문가
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠