Class V2Migration

java.lang.Object
org.apache.hadoop.fs.s3a.impl.V2Migration

public final class V2Migration extends Object
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 Details

    • SDK_V2_UPGRADE_LOG

      public static final org.slf4j.Logger SDK_V2_UPGRADE_LOG
  • Method Details

    • v1RequestHandlersUsed

      public static void v1RequestHandlersUsed(String handlers)
      Notes use of request handlers.
      Parameters:
      handlers - handlers declared