跳至內容

AWS Health SDK planned lifecycle event triggered by AWS Glue 5.0 managed runtime

1

We received an AWS Health notification for AWS SDK for Java 1.x usage in us-east-2.

After investigation, the usage appears related to AWS Glue managed runtime:

  • Glue version 5.0
  • Spark 3.5 / Python 3
  • No dependent JARs
  • No additional Python modules
  • No Glue connections
  • Script uses boto3, not AWS SDK for Java
  • CloudWatch Logs show AWS SDK for Java 1.x warning during GlueBootstrapping
  • CloudTrail shows aws-internal/3 aws-sdk-java/1.x for logs.amazonaws.com CreateLogGroup/CreateLogStream under AWSGlueServiceRole-XOS / GlueJobRunnerSession

Is this expected from AWS Glue managed runtime, and is any customer action required?

已提問 2 個月前檢視次數 283 次

2 個答案
1

Yes, this is expected behavior from the AWS Glue managed runtime and no customer action is required on your part.

AWS Glue version 5.0 uses AWS SDK for Java version 2.29.52 as part of its managed runtime environment. However, the AWS SDK for Java 1.x references you're observing in CloudWatch Logs and CloudTrail are from AWS Glue's internal service components, not from your job code or dependencies.

Specifically, the CloudTrail entries showing "aws-internal/3 aws-sdk-java/1.x" for CloudWatch Logs operations (CreateLogGroup/CreateLogStream) under the AWSGlueServiceRole are part of AWS Glue's internal logging infrastructure. These are service-managed operations that occur during the GlueBootstrapping phase to set up logging for your job execution.

Since your job script uses boto3 (the Python SDK) and you haven't added any custom JARs or dependencies that would introduce AWS SDK for Java 1.x, the SDK 1.x usage is entirely within AWS Glue's managed service layer. AWS is responsible for upgrading these internal components as part of the service's evolution.

The AWS Health notification you received is likely part of AWS's broader communication about SDK 1.x deprecation, but in this case, the remediation responsibility lies with the AWS Glue service team, not with you as a customer. Your Glue jobs running on version 5.0 are already using the supported runtime components for customer-facing functionality.
Sources
Migrating AWS Glue for Spark jobs to AWS Glue version 5.0 - AWS Glue
AWS Glue versions - AWS Glue

已回答 2 個月前

專家

已審閱 2 個月前

0

Thanks for sharing, very informative 👍

已回答 2 個月前

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

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