Move MultiObjectDeleteException to impl
This commit is contained in:
parent
68510c8ab1
commit
aa1cf19ffa
|
@ -136,6 +136,7 @@ import org.apache.hadoop.fs.s3a.impl.HeaderProcessing;
|
||||||
import org.apache.hadoop.fs.s3a.impl.InternalConstants;
|
import org.apache.hadoop.fs.s3a.impl.InternalConstants;
|
||||||
import org.apache.hadoop.fs.s3a.impl.ListingOperationCallbacks;
|
import org.apache.hadoop.fs.s3a.impl.ListingOperationCallbacks;
|
||||||
import org.apache.hadoop.fs.s3a.impl.MkdirOperation;
|
import org.apache.hadoop.fs.s3a.impl.MkdirOperation;
|
||||||
|
import org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteException;
|
||||||
import org.apache.hadoop.fs.s3a.impl.OpenFileSupport;
|
import org.apache.hadoop.fs.s3a.impl.OpenFileSupport;
|
||||||
import org.apache.hadoop.fs.s3a.impl.OperationCallbacks;
|
import org.apache.hadoop.fs.s3a.impl.OperationCallbacks;
|
||||||
import org.apache.hadoop.fs.s3a.impl.PutObjectOptions;
|
import org.apache.hadoop.fs.s3a.impl.PutObjectOptions;
|
||||||
|
|
|
@ -46,6 +46,7 @@ import org.apache.hadoop.fs.s3a.audit.AuditFailureException;
|
||||||
import org.apache.hadoop.fs.s3a.audit.AuditIntegration;
|
import org.apache.hadoop.fs.s3a.audit.AuditIntegration;
|
||||||
import org.apache.hadoop.fs.s3a.auth.delegation.EncryptionSecrets;
|
import org.apache.hadoop.fs.s3a.auth.delegation.EncryptionSecrets;
|
||||||
import org.apache.hadoop.fs.s3a.auth.IAMInstanceCredentialsProvider;
|
import org.apache.hadoop.fs.s3a.auth.IAMInstanceCredentialsProvider;
|
||||||
|
import org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteException;
|
||||||
import org.apache.hadoop.fs.s3a.impl.NetworkBinding;
|
import org.apache.hadoop.fs.s3a.impl.NetworkBinding;
|
||||||
import org.apache.hadoop.fs.s3native.S3xLoginHelper;
|
import org.apache.hadoop.fs.s3native.S3xLoginHelper;
|
||||||
import org.apache.hadoop.net.ConnectTimeoutException;
|
import org.apache.hadoop.net.ConnectTimeoutException;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.apache.hadoop.fs.s3a;
|
package org.apache.hadoop.fs.s3a.impl;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.file.AccessDeniedException;
|
import java.nio.file.AccessDeniedException;
|
||||||
|
@ -29,6 +29,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import org.apache.hadoop.classification.InterfaceAudience;
|
import org.apache.hadoop.classification.InterfaceAudience;
|
||||||
import org.apache.hadoop.classification.InterfaceStability;
|
import org.apache.hadoop.classification.InterfaceStability;
|
||||||
|
import org.apache.hadoop.fs.s3a.AWSS3IOException;
|
||||||
|
import org.apache.hadoop.fs.s3a.S3AFileSystem;
|
||||||
|
|
||||||
import static org.apache.hadoop.fs.s3a.impl.InternalConstants.SC_200_OK;
|
import static org.apache.hadoop.fs.s3a.impl.InternalConstants.SC_200_OK;
|
||||||
|
|
|
@ -30,7 +30,6 @@ import org.apache.hadoop.fs.FileStatus;
|
||||||
import org.apache.hadoop.fs.InvalidRequestException;
|
import org.apache.hadoop.fs.InvalidRequestException;
|
||||||
import org.apache.hadoop.fs.Path;
|
import org.apache.hadoop.fs.Path;
|
||||||
import org.apache.hadoop.fs.RemoteIterator;
|
import org.apache.hadoop.fs.RemoteIterator;
|
||||||
import org.apache.hadoop.fs.s3a.MultiObjectDeleteException;
|
|
||||||
import org.apache.hadoop.fs.s3a.Retries;
|
import org.apache.hadoop.fs.s3a.Retries;
|
||||||
import org.apache.hadoop.fs.s3a.S3AFileStatus;
|
import org.apache.hadoop.fs.s3a.S3AFileStatus;
|
||||||
import org.apache.hadoop.fs.s3a.S3ALocatedFileStatus;
|
import org.apache.hadoop.fs.s3a.S3ALocatedFileStatus;
|
||||||
|
|
|
@ -54,9 +54,9 @@ import org.apache.hadoop.fs.s3a.UnknownStoreException;
|
||||||
import org.apache.hadoop.fs.s3a.impl.DirMarkerTracker;
|
import org.apache.hadoop.fs.s3a.impl.DirMarkerTracker;
|
||||||
import org.apache.hadoop.fs.s3a.impl.DirectoryPolicy;
|
import org.apache.hadoop.fs.s3a.impl.DirectoryPolicy;
|
||||||
import org.apache.hadoop.fs.s3a.impl.DirectoryPolicyImpl;
|
import org.apache.hadoop.fs.s3a.impl.DirectoryPolicyImpl;
|
||||||
|
import org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteException;
|
||||||
import org.apache.hadoop.fs.s3a.impl.StoreContext;
|
import org.apache.hadoop.fs.s3a.impl.StoreContext;
|
||||||
import org.apache.hadoop.fs.s3a.s3guard.S3GuardTool;
|
import org.apache.hadoop.fs.s3a.s3guard.S3GuardTool;
|
||||||
import org.apache.hadoop.fs.s3a.MultiObjectDeleteException;
|
|
||||||
import org.apache.hadoop.fs.shell.CommandFormat;
|
import org.apache.hadoop.fs.shell.CommandFormat;
|
||||||
import org.apache.hadoop.util.DurationInfo;
|
import org.apache.hadoop.util.DurationInfo;
|
||||||
import org.apache.hadoop.util.ExitUtil;
|
import org.apache.hadoop.util.ExitUtil;
|
||||||
|
|
|
@ -27,9 +27,9 @@ import software.amazon.awssdk.services.s3.model.ObjectIdentifier;
|
||||||
import org.apache.hadoop.fs.InvalidRequestException;
|
import org.apache.hadoop.fs.InvalidRequestException;
|
||||||
import org.apache.hadoop.fs.Path;
|
import org.apache.hadoop.fs.Path;
|
||||||
import org.apache.hadoop.fs.RemoteIterator;
|
import org.apache.hadoop.fs.RemoteIterator;
|
||||||
import org.apache.hadoop.fs.s3a.MultiObjectDeleteException;
|
|
||||||
import org.apache.hadoop.fs.s3a.Retries;
|
import org.apache.hadoop.fs.s3a.Retries;
|
||||||
import org.apache.hadoop.fs.s3a.S3AFileStatus;
|
import org.apache.hadoop.fs.s3a.S3AFileStatus;
|
||||||
|
import org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteException;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -26,8 +26,8 @@ import software.amazon.awssdk.services.s3.model.ObjectIdentifier;
|
||||||
|
|
||||||
import org.apache.hadoop.fs.Path;
|
import org.apache.hadoop.fs.Path;
|
||||||
import org.apache.hadoop.fs.RemoteIterator;
|
import org.apache.hadoop.fs.RemoteIterator;
|
||||||
import org.apache.hadoop.fs.s3a.MultiObjectDeleteException;
|
|
||||||
import org.apache.hadoop.fs.s3a.S3AFileStatus;
|
import org.apache.hadoop.fs.s3a.S3AFileStatus;
|
||||||
|
import org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteException;
|
||||||
import org.apache.hadoop.fs.s3a.impl.OperationCallbacks;
|
import org.apache.hadoop.fs.s3a.impl.OperationCallbacks;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ import org.apache.hadoop.conf.Configuration;
|
||||||
import org.apache.hadoop.fs.LocatedFileStatus;
|
import org.apache.hadoop.fs.LocatedFileStatus;
|
||||||
import org.apache.hadoop.fs.Path;
|
import org.apache.hadoop.fs.Path;
|
||||||
import org.apache.hadoop.fs.RemoteIterator;
|
import org.apache.hadoop.fs.RemoteIterator;
|
||||||
|
import org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteException;
|
||||||
import org.apache.hadoop.fs.statistics.StoreStatisticNames;
|
import org.apache.hadoop.fs.statistics.StoreStatisticNames;
|
||||||
import org.apache.hadoop.fs.store.audit.AuditSpan;
|
import org.apache.hadoop.fs.store.audit.AuditSpan;
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ import org.apache.hadoop.conf.Configuration;
|
||||||
import org.apache.hadoop.fs.Path;
|
import org.apache.hadoop.fs.Path;
|
||||||
import org.apache.hadoop.fs.contract.ContractTestUtils;
|
import org.apache.hadoop.fs.contract.ContractTestUtils;
|
||||||
import org.apache.hadoop.fs.s3a.AbstractS3ATestBase;
|
import org.apache.hadoop.fs.s3a.AbstractS3ATestBase;
|
||||||
import org.apache.hadoop.fs.s3a.MultiObjectDeleteException;
|
|
||||||
import org.apache.hadoop.fs.s3a.S3AFileSystem;
|
import org.apache.hadoop.fs.s3a.S3AFileSystem;
|
||||||
import org.apache.hadoop.io.IOUtils;
|
import org.apache.hadoop.io.IOUtils;
|
||||||
import org.apache.hadoop.util.DurationInfo;
|
import org.apache.hadoop.util.DurationInfo;
|
||||||
|
|
|
@ -28,11 +28,11 @@ import software.amazon.awssdk.services.s3.model.ObjectIdentifier;
|
||||||
import org.apache.hadoop.fs.FileStatus;
|
import org.apache.hadoop.fs.FileStatus;
|
||||||
import org.apache.hadoop.fs.Path;
|
import org.apache.hadoop.fs.Path;
|
||||||
import org.apache.hadoop.fs.RemoteIterator;
|
import org.apache.hadoop.fs.RemoteIterator;
|
||||||
import org.apache.hadoop.fs.s3a.MultiObjectDeleteException;
|
|
||||||
import org.apache.hadoop.fs.s3a.S3AFileStatus;
|
import org.apache.hadoop.fs.s3a.S3AFileStatus;
|
||||||
import org.apache.hadoop.fs.s3a.S3ALocatedFileStatus;
|
import org.apache.hadoop.fs.s3a.S3ALocatedFileStatus;
|
||||||
import org.apache.hadoop.fs.s3a.S3AReadOpContext;
|
import org.apache.hadoop.fs.s3a.S3AReadOpContext;
|
||||||
import org.apache.hadoop.fs.s3a.S3ObjectAttributes;
|
import org.apache.hadoop.fs.s3a.S3ObjectAttributes;
|
||||||
|
import org.apache.hadoop.fs.s3a.impl.MultiObjectDeleteException;
|
||||||
import org.apache.hadoop.fs.s3a.impl.OperationCallbacks;
|
import org.apache.hadoop.fs.s3a.impl.OperationCallbacks;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue