public final class InternalConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AP_INACCESSIBLE
Error message to indicate Access Points are not accessible or don't exist.
|
static String |
AP_REQUIRED_EXCEPTION
Error message to indicate Access Points are required to be used for S3 access.
|
static String |
ARN_BUCKET_OPTION
AccessPoint ARN for the bucket.
|
static String |
AUTH_SCHEME_AWS_SIGV_4
AWS V4 Auth Scheme to use when creating signers: "aws.auth#sigv4".
|
static String |
AWS_REGION_SYSPROP
The system property used by the AWS SDK to identify the region.
|
static Set<String> |
CREATE_FILE_KEYS
The known keys used in a createFile call.
|
static int |
CSE_PADDING_LENGTH
S3 client side encryption adds padding to the content length of constant
length of 16 bytes (at the moment, since we have only 1 content
encryption algorithm).
|
static int |
DEFAULT_BLOCKSIZE
Default blocksize as used in blocksize and FS status queries: 33554432.
|
static int |
DEFAULT_UPLOAD_PART_COUNT_LIMIT
Maximum entries you can upload in a single file write/copy/upload.
|
static boolean |
DELETE_CONSIDERED_IDEMPOTENT
This declared delete as idempotent.
|
static int |
DRAIN_BUFFER_SIZE
size of a buffer to create when draining the stream.
|
static int |
MAX_ENTRIES_TO_DELETE
The maximum number of entries that can be deleted in any bulk delete
call to S3: 1000.
|
static int |
RENAME_PARALLEL_LIMIT
This is an arbitrary value: 10.
|
static List<String> |
S3A_DYNAMIC_CAPABILITIES
Dynamic Path capabilities to be evaluated
in the BucketInfo tool.
|
static Set<String> |
S3A_OPENFILE_KEYS
The known keys used in a standard openFile call.
|
static int |
SC_200_OK
200 status code: OK.
|
static int |
SC_301_MOVED_PERMANENTLY
301 status code: Moved Permanently.
|
static int |
SC_307_TEMPORARY_REDIRECT
307 status code: Temporary Redirect.
|
static int |
SC_400_BAD_REQUEST
400 status code: Bad Request.
|
static int |
SC_401_UNAUTHORIZED
401 status code: Unauthorized.
|
static int |
SC_403
Deprecated.
|
static int |
SC_403_FORBIDDEN
403 status code: Forbidden.
|
static int |
SC_404
Deprecated.
|
static int |
SC_404_NOT_FOUND
404 status code: Not Found.
|
static int |
SC_405_METHOD_NOT_ALLOWED
405 status code: Method Not Allowed.
|
static int |
SC_409_CONFLICT
409 status code: Conflict.
|
static int |
SC_410_GONE
410 status code: Gone.
|
static int |
SC_412_PRECONDITION_FAILED
412 status code: Precondition Failed.
|
static int |
SC_415_UNSUPPORTED_MEDIA_TYPE
415 status code: Content type unsupported by this store.
|
static int |
SC_416_RANGE_NOT_SATISFIABLE
416 status code: Range Not Satisfiable.
|
static int |
SC_429_TOO_MANY_REQUESTS_GCS
429 status code: This is the google GCS throttle message.
|
static int |
SC_443_NO_RESPONSE
443 status code: No Response (unofficial).
|
static int |
SC_444_NO_RESPONSE
444 status code: No Response (unofficial).
|
static int |
SC_500_INTERNAL_SERVER_ERROR
500 status code: Internal Server Error.
|
static int |
SC_501_NOT_IMPLEMENTED
501 status code: method not implemented.
|
static int |
SC_503_SERVICE_UNAVAILABLE
503 status code: Service Unavailable.
|
static int |
SC_504_GATEWAY_TIMEOUT
504 Gateway Timeout.
|
static String |
SDK_V2_UPGRADE_LOG_NAME
Name of the log for events related to the SDK V2 upgrade.
|
static String |
THROTTLE_LOG_NAME
Name of the log for throttling events.
|
static String |
UPLOAD_PART_COUNT_LIMIT
A configuration option for test use only: maximum
part count on block writes/uploads.
|
static String |
X_DIRECTORY
Directory marker attribute: see HADOOP-16613.
|
public static final boolean DELETE_CONSIDERED_IDEMPOTENT
public static final int DRAIN_BUFFER_SIZE
public static final int RENAME_PARALLEL_LIMIT
MAX_ENTRIES_TO_DELETE
so that
all copies will have finished before deletion is contemplated.
(There's always a block for that, it just makes more sense to
perform the bulk delete after another block of copies have completed).public static final int MAX_ENTRIES_TO_DELETE
public static final int DEFAULT_BLOCKSIZE
@InterfaceStability.Unstable public static final Set<String> S3A_OPENFILE_KEYS
public static final int SC_200_OK
public static final int SC_301_MOVED_PERMANENTLY
public static final int SC_307_TEMPORARY_REDIRECT
public static final int SC_400_BAD_REQUEST
public static final int SC_401_UNAUTHORIZED
public static final int SC_403_FORBIDDEN
@Deprecated public static final int SC_403
public static final int SC_404_NOT_FOUND
@Deprecated public static final int SC_404
public static final int SC_405_METHOD_NOT_ALLOWED
public static final int SC_409_CONFLICT
public static final int SC_410_GONE
public static final int SC_412_PRECONDITION_FAILED
public static final int SC_415_UNSUPPORTED_MEDIA_TYPE
public static final int SC_416_RANGE_NOT_SATISFIABLE
public static final int SC_429_TOO_MANY_REQUESTS_GCS
public static final int SC_443_NO_RESPONSE
public static final int SC_444_NO_RESPONSE
public static final int SC_500_INTERNAL_SERVER_ERROR
public static final int SC_501_NOT_IMPLEMENTED
public static final int SC_503_SERVICE_UNAVAILABLE
public static final int SC_504_GATEWAY_TIMEOUT
public static final String THROTTLE_LOG_NAME
public static final String SDK_V2_UPGRADE_LOG_NAME
public static final String X_DIRECTORY
@VisibleForTesting public static final String UPLOAD_PART_COUNT_LIMIT
public static final int DEFAULT_UPLOAD_PART_COUNT_LIMIT
public static final String AWS_REGION_SYSPROP
public static final int CSE_PADDING_LENGTH
public static final String AP_REQUIRED_EXCEPTION
public static final String AP_INACCESSIBLE
public static final String ARN_BUCKET_OPTION
public static final Set<String> CREATE_FILE_KEYS
public static final List<String> S3A_DYNAMIC_CAPABILITIES
public static final String AUTH_SCHEME_AWS_SIGV_4
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.