Package org.apache.hadoop.fs.s3a.impl
Class V2Migration
java.lang.Object
org.apache.hadoop.fs.s3a.impl.V2Migration
This class provides utility methods required for migrating S3A to AWS Java SDK V2.
For more information on the upgrade, see HADOOP-18073.
in HADOOP-18382. Upgrade AWS SDK to V2 - Prerequisites, this class contained a series of `LogExactlyOnce` loggers to warn on the first use of a feature which would change incompatibly; this shipped in Hadoop 3.3.5.
With the move to v2 completed, attempts to use the v1 classes, will fail -except for the special case of support for v1 credential providers.
The warning methods are still present, where appropriate, but downgraded to debug and only retained for debugging migration issues.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidv1RequestHandlersUsed(String handlers) Notes use of request handlers.
-
Field Details
-
SDK_V2_UPGRADE_LOG
public static final org.slf4j.Logger SDK_V2_UPGRADE_LOG
-
-
Method Details
-
v1RequestHandlersUsed
Notes use of request handlers.- Parameters:
handlers- handlers declared
-