Steve Loughran created HADOOP-19313:
---------------------------------------

             Summary: AWS V1 SDK now tells users of for using aa deprecated SDK
                 Key: HADOOP-19313
                 URL: https://issues.apache.org/jira/browse/HADOOP-19313
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs/s3
    Affects Versions: 3.3.9
            Reporter: Steve Loughran


This is for anyone upgrading their v1 SDK to any release after July 2024:

The fix is to set the log to fatal or the sysprop 
aws.java.v1.disableDeprecationAnnouncement to true

I think I will go with #2 everywhere, and add it to a copy of the 
AwsWorkarounds class for v1. New warning messages from the SDK telling off end 
users are not permitted.

{code}
logger.log.com.amazonaws.util.VersionInfoUtils=FATAL
{code}

{code}
WARN util.VersionInfoUtils: The AWS SDK for Java 1.x entered maintenance mode 
starting July 31, 2024 and will reach end of support on December 31, 2025. For 
more information, see 
https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-1-x-is-in-maintenance-mode-effective-july-31-2024/
You can print where on the file system the AWS SDK for Java 1.x core runtime is 
located by setting the AWS_JAVA_V1_PRINT_LOCATION environment variable or 
aws.java.v1.printLocation system property to 'true'.
This message can be disabled by setting the 
AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT environment variable or 
aws.java.v1.disableDeprecationAnnouncement system property to 'true'.
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to