-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-15563 S3Guard to create on-demand DDB tables #879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a70a679
80c3292
a17aaef
74dab46
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -439,7 +439,6 @@ private Constants() { | |
| * This config has no default value. If the user does not set this, the | ||
| * S3Guard will operate table in the associated S3 bucket region. | ||
| */ | ||
| @InterfaceStability.Unstable | ||
| public static final String S3GUARD_DDB_REGION_KEY = | ||
| "fs.s3a.s3guard.ddb.region"; | ||
|
|
||
|
|
@@ -449,7 +448,6 @@ private Constants() { | |
| * This config has no default value. If the user does not set this, the | ||
| * S3Guard implementation will use the respective S3 bucket name. | ||
| */ | ||
| @InterfaceStability.Unstable | ||
| public static final String S3GUARD_DDB_TABLE_NAME_KEY = | ||
| "fs.s3a.s3guard.ddb.table"; | ||
|
|
||
|
|
@@ -459,36 +457,45 @@ private Constants() { | |
| * For example: | ||
| * fs.s3a.s3guard.ddb.table.tag.mytag | ||
| */ | ||
| @InterfaceStability.Unstable | ||
| public static final String S3GUARD_DDB_TABLE_TAG = | ||
| "fs.s3a.s3guard.ddb.table.tag."; | ||
|
|
||
| /** | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 for moving this to S3ATestConstants. I've put this here, next time I will use the TestConstants instead for test only constants.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1. I'm thinking we also need to split internal from public |
||
| * Test table name to use during DynamoDB integration test. | ||
| * | ||
| * The table will be modified, and deleted in the end of the tests. | ||
| * If this value is not set, the integration tests that would be destructive | ||
| * won't run. | ||
| */ | ||
| @InterfaceStability.Unstable | ||
| public static final String S3GUARD_DDB_TEST_TABLE_NAME_KEY = | ||
| "fs.s3a.s3guard.ddb.test.table"; | ||
|
|
||
| /** | ||
| * Whether to create the DynamoDB table if the table does not exist. | ||
| * Value: {@value}. | ||
| */ | ||
| @InterfaceStability.Unstable | ||
| public static final String S3GUARD_DDB_TABLE_CREATE_KEY = | ||
| "fs.s3a.s3guard.ddb.table.create"; | ||
|
|
||
| @InterfaceStability.Unstable | ||
| /** | ||
| * Read capacity when creating a table. | ||
| * When it and the write capacity are both "0", a per-request table is | ||
| * created. | ||
| * Value: {@value}. | ||
| */ | ||
| public static final String S3GUARD_DDB_TABLE_CAPACITY_READ_KEY = | ||
| "fs.s3a.s3guard.ddb.table.capacity.read"; | ||
| public static final long S3GUARD_DDB_TABLE_CAPACITY_READ_DEFAULT = 500; | ||
| @InterfaceStability.Unstable | ||
|
|
||
| /** | ||
| * Default read capacity when creating a table. | ||
| * Value: {@value}. | ||
| */ | ||
| public static final long S3GUARD_DDB_TABLE_CAPACITY_READ_DEFAULT = 0; | ||
|
|
||
| /** | ||
| * Write capacity when creating a table. | ||
| * When it and the read capacity are both "0", a per-request table is | ||
| * created. | ||
| * Value: {@value}. | ||
| */ | ||
| public static final String S3GUARD_DDB_TABLE_CAPACITY_WRITE_KEY = | ||
| "fs.s3a.s3guard.ddb.table.capacity.write"; | ||
| public static final long S3GUARD_DDB_TABLE_CAPACITY_WRITE_DEFAULT = 100; | ||
|
|
||
| /** | ||
| * Default write capacity when creating a table. | ||
| * Value: {@value}. | ||
| */ | ||
| public static final long S3GUARD_DDB_TABLE_CAPACITY_WRITE_DEFAULT = 0; | ||
|
|
||
| /** | ||
| * The maximum put or delete requests per BatchWriteItem request. | ||
|
|
@@ -497,7 +504,6 @@ private Constants() { | |
| */ | ||
| public static final int S3GUARD_DDB_BATCH_WRITE_REQUEST_LIMIT = 25; | ||
|
|
||
| @InterfaceStability.Unstable | ||
| public static final String S3GUARD_DDB_MAX_RETRIES = | ||
| "fs.s3a.s3guard.ddb.max.retries"; | ||
|
|
||
|
|
@@ -509,7 +515,6 @@ private Constants() { | |
| public static final int S3GUARD_DDB_MAX_RETRIES_DEFAULT = | ||
| DEFAULT_MAX_ERROR_RETRIES; | ||
|
|
||
| @InterfaceStability.Unstable | ||
| public static final String S3GUARD_DDB_THROTTLE_RETRY_INTERVAL = | ||
| "fs.s3a.s3guard.ddb.throttle.retry.interval"; | ||
| public static final String S3GUARD_DDB_THROTTLE_RETRY_INTERVAL_DEFAULT = | ||
|
|
@@ -528,7 +533,6 @@ private Constants() { | |
| /** | ||
| * The default "Null" metadata store: {@value}. | ||
| */ | ||
| @InterfaceStability.Unstable | ||
| public static final String S3GUARD_METASTORE_NULL | ||
| = "org.apache.hadoop.fs.s3a.s3guard.NullMetadataStore"; | ||
|
|
||
|
|
@@ -561,7 +565,6 @@ private Constants() { | |
| /** | ||
| * Use DynamoDB for the metadata: {@value}. | ||
| */ | ||
| @InterfaceStability.Unstable | ||
| public static final String S3GUARD_METASTORE_DYNAMO | ||
| = "org.apache.hadoop.fs.s3a.s3guard.DynamoDBMetadataStore"; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.