Uses of Annotation Interface
org.apache.hadoop.fs.s3a.Retries.RetryTranslated
Packages that use Retries.RetryTranslated
Package
Description
S3A Filesystem.
Authentication and permissions support.
Extensible delegation token support for the S3A connector.
Implementation classes private to the S3A store.
S3A Command line tools independent of S3Guard.
-
Uses of Retries.RetryTranslated in org.apache.hadoop.fs.s3a
Methods in org.apache.hadoop.fs.s3a with annotations of type Retries.RetryTranslatedModifier and TypeMethodDescriptionvoidWriteOperationHelper.abortMultipartCommit(String destKey, String uploadId) Abort a multipart commit operation.voidWriteOperations.abortMultipartCommit(String destKey, String uploadId) Abort a multipart commit operation.voidWriteOperationHelper.abortMultipartUpload(String destKey, String uploadId, boolean shouldRetry, Invoker.Retried retrying) Abort a multipart upload operation.voidWriteOperationHelper.abortMultipartUpload(software.amazon.awssdk.services.s3.model.MultipartUpload upload) Abort a multipart commit operation.voidWriteOperations.abortMultipartUpload(String destKey, String uploadId, boolean shouldRetry, Invoker.Retried retrying) Abort a multipart upload operation.voidWriteOperations.abortMultipartUpload(software.amazon.awssdk.services.s3.model.MultipartUpload upload) Abort a multipart commit operation.longS3AInternals.abortMultipartUploads(org.apache.hadoop.fs.Path path) Abort multipart uploads under a path.intWriteOperationHelper.abortMultipartUploadsUnderPath(String prefix) Abort multipart uploads under a path: limited to the first few hundred.intWriteOperations.abortMultipartUploadsUnderPath(String prefix) Abort multipart uploads under a path: limited to the first few hundred.voidS3AFileSystem.abortOutstandingMultipartUploads(long seconds) Abort all outstanding MPUs older than a given age.software.amazon.awssdk.services.s3.model.CompleteMultipartUploadResponseWriteOperationHelper.commitUpload(String destKey, String uploadId, List<software.amazon.awssdk.services.s3.model.CompletedPart> partETags, long length) This completes a multipart upload to the destination key viafinalizeMultipartUpload().software.amazon.awssdk.services.s3.model.CompleteMultipartUploadResponseWriteOperations.commitUpload(String destKey, String uploadId, List<software.amazon.awssdk.services.s3.model.CompletedPart> partETags, long length) This completes a multipart upload to the destination key viafinalizeMultipartUpload().software.amazon.awssdk.services.s3.model.CompleteMultipartUploadResponseWriteOperationHelper.completeMPUwithRetries(String destKey, String uploadId, List<software.amazon.awssdk.services.s3.model.CompletedPart> partETags, long length, AtomicInteger errorCount, PutObjectOptions putOptions) This completes a multipart upload to the destination key viafinalizeMultipartUpload().software.amazon.awssdk.services.s3.model.CompleteMultipartUploadResponseWriteOperations.completeMPUwithRetries(String destKey, String uploadId, List<software.amazon.awssdk.services.s3.model.CompletedPart> partETags, long length, AtomicInteger errorCount, PutObjectOptions putOptions) This completes a multipart upload to the destination key viafinalizeMultipartUpload().voidS3AFileSystem.CopyFromLocalCallbacksImpl.copyLocalFileFromTo(File file, org.apache.hadoop.fs.Path from, org.apache.hadoop.fs.Path to) booleanS3AFileSystem.CopyFromLocalCallbacksImpl.createEmptyDir(org.apache.hadoop.fs.Path path, StoreContext storeContext) booleanS3AFileSystem.delete(org.apache.hadoop.fs.Path f, boolean recursive) Delete a Path.S3AFileSystem.getBucketLocation()S3AInternals method.S3AInternals.getBucketLocation()Get the region of a bucket.S3AInternals.getBucketLocation(String bucketName) Get the region of a bucket; fixing up the region so it can be used in the builders of other AWS clients.protected software.amazon.awssdk.services.s3.model.HeadBucketResponseS3AFileSystem.getBucketMetadata()Request bucket metadata.software.amazon.awssdk.services.s3.model.HeadBucketResponseS3AInternals.getBucketMetadata()Request bucket metadata.org.apache.hadoop.fs.ContentSummaryS3AFileSystem.getContentSummary(org.apache.hadoop.fs.Path f) This is a very slow operation against object storage.org.apache.hadoop.fs.store.EtagChecksumS3AFileSystem.getFileChecksum(org.apache.hadoop.fs.Path f, long length) When enabled, get the etag of a object at the path via HEAD request and return it as a checksum object.org.apache.hadoop.fs.FileStatusS3AFileSystem.CopyFromLocalCallbacksImpl.getFileStatus(org.apache.hadoop.fs.Path f) org.apache.hadoop.fs.FileStatusS3AFileSystem.getFileStatus(org.apache.hadoop.fs.Path f) Return a file status object that represents the path.software.amazon.awssdk.services.s3.model.HeadObjectResponseS3AFileSystem.getObjectMetadata(org.apache.hadoop.fs.Path path) Deprecated.use S3AInternals API.software.amazon.awssdk.services.s3.model.HeadObjectResponseS3AInternals.getObjectMetadata(org.apache.hadoop.fs.Path path) Low-level call to get at the object metadata.WriteOperationHelper.initiateMultiPartUpload(String destKey, PutObjectOptions options) Start the multipart upload process.WriteOperations.initiateMultiPartUpload(String destKey, PutObjectOptions options) Start the multipart upload process.org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus>S3AFileSystem.listFiles(org.apache.hadoop.fs.Path f, boolean recursive) .org.apache.hadoop.fs.RemoteIterator<S3ALocatedFileStatus>S3AFileSystem.listFilesAndEmptyDirectories(org.apache.hadoop.fs.Path f, boolean recursive) Recursive List of files and empty directories.List<software.amazon.awssdk.services.s3.model.MultipartUpload>S3AFileSystem.listMultipartUploads(String prefix) Listing all multipart uploads; limited to the first few hundred.List<software.amazon.awssdk.services.s3.model.MultipartUpload>WriteOperationHelper.listMultipartUploads(String prefix) org.apache.hadoop.fs.RemoteIterator<software.amazon.awssdk.services.s3.model.MultipartUpload>S3AFileSystem.listUploads(String prefix) List any pending multipart uploads whose keys begin with prefix, using an iterator that can handle an unlimited number of entries.org.apache.hadoop.fs.RemoteIterator<software.amazon.awssdk.services.s3.model.MultipartUpload>S3AFileSystem.listUploadsUnderPrefix(StoreContext storeContext, String prefix) List any pending multipart uploads whose keys begin with prefix, using an iterator that can handle an unlimited number of entries.protected voidS3AFileSystem.maybeCreateFakeParentDirectory(org.apache.hadoop.fs.Path path) Create a fake parent directory if required.<T> TInvoker.maybeRetry(boolean doRetry, String action, String path, boolean idempotent, Invoker.Retried retrying, org.apache.hadoop.util.functional.CallableRaisingIOE<T> operation) Execute a function with retry processing when doRetry=true, else just once.voidInvoker.maybeRetry(boolean doRetry, String action, String path, boolean idempotent, Invoker.Retried retrying, org.apache.hadoop.util.functional.InvocationRaisingIOE operation) Execute a void operation with retry processing when doRetry=true, else just once.voidInvoker.maybeRetry(boolean doRetry, String action, String path, boolean idempotent, org.apache.hadoop.util.functional.InvocationRaisingIOE operation) Execute a void operation with the default retry callback invoked when doRetry=true, else just once.org.apache.hadoop.fs.FSDataInputStreamS3AFileSystem.open(org.apache.hadoop.fs.Path f, int bufferSize) Opens an FSDataInputStream at the indicated Path.CompletableFuture<org.apache.hadoop.fs.FSDataInputStream>S3AFileSystem.openFileWithOptions(org.apache.hadoop.fs.Path rawPath, org.apache.hadoop.fs.impl.OpenFileParameters parameters) Initiate the open() operation.software.amazon.awssdk.services.s3.model.PutObjectResponseWriteOperationHelper.putObject(software.amazon.awssdk.services.s3.model.PutObjectRequest putObjectRequest, PutObjectOptions putOptions, S3ADataBlocks.BlockUploadData uploadData, org.apache.hadoop.fs.statistics.DurationTrackerFactory durationTrackerFactory) PUT an object directly (i.e. not via the transfer manager).software.amazon.awssdk.services.s3.model.PutObjectResponseWriteOperations.putObject(software.amazon.awssdk.services.s3.model.PutObjectRequest putObjectRequest, PutObjectOptions putOptions, S3ADataBlocks.BlockUploadData uploadData, org.apache.hadoop.fs.statistics.DurationTrackerFactory durationTrackerFactory) PUT an object directly (i.e. not via the transfer manager).intS3AInputStream.read()intS3AInputStream.read(byte[] buf, int off, int len) This updates the statistics on read operations started and whether or not the read operation "completed", that is: returned the exact number of bytes requested.voidS3AInputStream.readFully(long position, byte[] buffer, int offset, int length) SubclassreadFully()operation which only seeks at the start of the series of operations; seeking back at the end.booleanS3AFileSystem.rename(org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path dst) Renames Path src to Path dst.<T> TInvoker.retry(String action, String path, boolean idempotent, Invoker.Retried retrying, org.apache.hadoop.util.functional.CallableRaisingIOE<T> operation) Execute a function with retry processing.voidInvoker.retry(String action, String path, boolean idempotent, Invoker.Retried retrying, org.apache.hadoop.util.functional.InvocationRaisingIOE operation) Execute a void operation with retry processing.<T> TInvoker.retry(String action, String path, boolean idempotent, org.apache.hadoop.util.functional.CallableRaisingIOE<T> operation) Execute a function with the default retry callback invoked.voidInvoker.retry(String action, String path, boolean idempotent, org.apache.hadoop.util.functional.InvocationRaisingIOE operation) Execute a void operation with the default retry callback invoked.software.amazon.awssdk.services.s3.model.UploadPartResponseWriteOperationHelper.uploadPart(software.amazon.awssdk.services.s3.model.UploadPartRequest request, software.amazon.awssdk.core.sync.RequestBody body, org.apache.hadoop.fs.statistics.DurationTrackerFactory durationTrackerFactory) Upload part of a multi-partition file.software.amazon.awssdk.services.s3.model.UploadPartResponseWriteOperations.uploadPart(software.amazon.awssdk.services.s3.model.UploadPartRequest request, software.amazon.awssdk.core.sync.RequestBody body, org.apache.hadoop.fs.statistics.DurationTrackerFactory durationTrackerFactory) Upload part of a multi-partition file.protected voidS3AFileSystem.verifyBucketExists()Verify that the bucket exists.Constructors in org.apache.hadoop.fs.s3a with annotations of type Retries.RetryTranslatedModifierConstructorDescriptionUploadIterator(StoreContext storeContext, software.amazon.awssdk.services.s3.S3Client s3, int maxKeys, String prefix) Construct an iterator to list uploads under a path. -
Uses of Retries.RetryTranslated in org.apache.hadoop.fs.s3a.auth
Methods in org.apache.hadoop.fs.s3a.auth with annotations of type Retries.RetryTranslatedModifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.sts.model.CredentialsSTSClientFactory.STSClient.requestRole(String roleARN, String sessionName, String policy, long duration, TimeUnit timeUnit) Request a set of role credentials.static MarshalledCredentialsMarshalledCredentialBinding.requestSessionCredentials(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider parentCredentials, org.apache.hadoop.conf.Configuration configuration, String stsEndpoint, String stsRegion, int duration, Invoker invoker, String bucket) Request a set of credentials from an STS endpoint.software.amazon.awssdk.services.sts.model.CredentialsSTSClientFactory.STSClient.requestSessionCredentials(long duration, TimeUnit timeUnit) Request a set of session credentials. -
Uses of Retries.RetryTranslated in org.apache.hadoop.fs.s3a.auth.delegation
Methods in org.apache.hadoop.fs.s3a.auth.delegation with annotations of type Retries.RetryTranslatedModifier and TypeMethodDescriptionRoleTokenBinding.createTokenIdentifier(Optional<RoleModel.Policy> policy, EncryptionSecrets encryptionSecrets, org.apache.hadoop.io.Text renewer) Create the Token Identifier.SessionTokenBinding.createTokenIdentifier(Optional<RoleModel.Policy> policy, EncryptionSecrets encryptionSecrets, org.apache.hadoop.io.Text renewer) -
Uses of Retries.RetryTranslated in org.apache.hadoop.fs.s3a.impl
Methods in org.apache.hadoop.fs.s3a.impl with annotations of type Retries.RetryTranslatedModifier and TypeMethodDescriptiondefault longOperationCallbacks.abortMultipartUploadsUnderPrefix(String prefix) Abort multipart uploads under a path; paged.BulkDeleteOperation.BulkDeleteOperationCallbacks.bulkDelete(List<software.amazon.awssdk.services.s3.model.ObjectIdentifier> keys) Perform a bulk delete operation.BulkDeleteOperationCallbacksImpl.bulkDelete(List<software.amazon.awssdk.services.s3.model.ObjectIdentifier> keysToDelete) software.amazon.awssdk.services.s3.model.CopyObjectResponseOperationCallbacks.copyFile(String srcKey, String destKey, S3ObjectAttributes srcAttributes, S3AReadOpContext readContext) Copy a single object in the bucket via a COPY operation.voidMkdirOperation.MkdirCallbacks.createFakeDirectory(org.apache.hadoop.fs.Path dir) Create a fake directory, always ending in "/".protected voidDeleteOperation.deleteDirectoryTree(org.apache.hadoop.fs.Path path, String dirKey) Delete a directory tree.voidOperationCallbacks.deleteObjectAtPath(org.apache.hadoop.fs.Path path, String key, boolean isFile) Delete an object.CopyFromLocalOperation.execute()Executes theCopyFromLocalOperation.DeleteOperation.execute()Delete a file or directory tree.org.apache.hadoop.fs.ContentSummaryGetContentSummaryOperation.execute()Return theContentSummaryof a given path.MkdirOperation.execute()Make the given path and all non-existent parents into directories.ContextAccessors.getBucketLocation()Get the region of a bucket.software.amazon.awssdk.services.s3.model.HeadBucketResponseHeaderProcessing.HeaderProcessingCallbacks.getBucketMetadata()Retrieve the bucket metadata.software.amazon.awssdk.services.s3.model.HeadObjectResponseHeaderProcessing.HeaderProcessingCallbacks.getObjectMetadata(String key) Retrieve the object metadata.org.apache.hadoop.fs.RemoteIterator<S3ALocatedFileStatus>OperationCallbacks.listFilesAndDirectoryMarkers(org.apache.hadoop.fs.Path path, S3AFileStatus status, boolean includeSelf) Recursive list of files and directory markers.org.apache.hadoop.fs.RemoteIterator<S3AFileStatus>OperationCallbacks.listObjects(org.apache.hadoop.fs.Path path, String key) Create an iterator over objects in S3.GetContentSummaryOperation.GetContentSummaryCallbacks.probePathStatus(org.apache.hadoop.fs.Path path, Set<StatusProbeEnum> probes) Get the status of a path.MkdirOperation.MkdirCallbacks.probePathStatus(org.apache.hadoop.fs.Path path, Set<StatusProbeEnum> probes) Get the status of a path. -
Uses of Retries.RetryTranslated in org.apache.hadoop.fs.s3a.tools
Methods in org.apache.hadoop.fs.s3a.tools with annotations of type Retries.RetryTranslatedModifier and TypeMethodDescriptionorg.apache.hadoop.fs.RemoteIterator<S3AFileStatus>MarkerToolOperations.listObjects(org.apache.hadoop.fs.Path path, String key) Create an iterator over objects in S3.