diff --git a/plugin/trino-hive/src/main/java/io/trino/plugin/hive/s3/TrinoS3FileSystem.java b/plugin/trino-hive/src/main/java/io/trino/plugin/hive/s3/TrinoS3FileSystem.java index 4a6140e28cc7..0f3cb82acdfa 100644 --- a/plugin/trino-hive/src/main/java/io/trino/plugin/hive/s3/TrinoS3FileSystem.java +++ b/plugin/trino-hive/src/main/java/io/trino/plugin/hive/s3/TrinoS3FileSystem.java @@ -720,8 +720,7 @@ private static boolean isHadoopFolderMarker(S3ObjectSummary object) * This exception is for stopping retries for S3 calls that shouldn't be retried. * For example, "Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: Forbidden (Service: Amazon S3; Status Code: 403 ..." */ - @VisibleForTesting - static class UnrecoverableS3OperationException + public static class UnrecoverableS3OperationException extends IOException { public UnrecoverableS3OperationException(Path path, Throwable cause)