[
https://issues.apache.org/jira/browse/HADOOP-14345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142807#comment-16142807
]
Steve Loughran commented on HADOOP-14345:
-----------------------------------------
Will be part of HADOOP-14220, so closing as dupe. Output will look like
{code}
2017-08-26 14:24:18,823 [main] DEBUG s3guard.DynamoDBMetadataStore
(DynamoDBMetadataStore.java:initTable(831)) - Using existing DynamoDB table
hwdev-steve-ireland-new in region eu-west-1 created Fri Aug 25 19:07:31 BST 2017
2017-08-26 14:24:18,824 [main] INFO s3guard.S3GuardTool
(S3GuardTool.java:initMetadataStore(229)) - Metadata store
DynamoDBMetadataStore{region=eu-west-1, tableName=hwdev-steve-ireland-new} is
initialized.
2017-08-26 14:24:18,824 [main] DEBUG s3guard.DynamoDBMetadataStore
(DynamoDBMetadataStore.java:updateParameters(1075)) - Current read capacity 20;
new capacity 10
2017-08-26 14:24:18,824 [main] DEBUG s3guard.DynamoDBMetadataStore
(DynamoDBMetadataStore.java:updateParameters(1081)) - Current write capacity
20; new capacity 10
2017-08-26 14:24:18,825 [main] INFO s3guard.DynamoDBMetadataStore
(DynamoDBMetadataStore.java:updateParameters(1088)) - Updating capacity of
table to read: 10, write: 10
Metadata Store Diagnostics:
ARN=arn:aws:dynamodb:eu-west-1:980678866538:table/hwdev-steve-ireland-new
description=S3Guard metadata store in DynamoDB
name=hwdev-steve-ireland-new
read-capacity=20
region=eu-west-1
retryPolicy=ExponentialBackoffRetry(maxRetries=9, sleepTime=100
MILLISECONDS)
size=1437
status=UPDATING
table={AttributeDefinitions: [{AttributeName: child,AttributeType: S},
{AttributeName: parent,AttributeType: S}],TableName:
hwdev-steve-ireland-new,KeySchema: [{AttributeName: parent,KeyType: HASH},
{AttributeName: child,KeyType: RANGE}],TableStatus: UPDATING,CreationDateTime:
Fri Aug 25 19:07:25 BST 2017,ProvisionedThroughput: {LastIncreaseDateTime: Sat
Aug 26 14:13:19 BST 2017,LastDecreaseDateTime: Sat Aug 26 14:24:18 BST
2017,NumberOfDecreasesToday: 0,ReadCapacityUnits: 20,WriteCapacityUnits:
20},TableSizeBytes: 1437,ItemCount: 14,TableArn:
arn:aws:dynamodb:eu-west-1:980678866538:table/hwdev-steve-ireland-new,}
write-capacity=20
{code}
UPDATING = change in progress. The printed details are coming from the new
getDiagnostics store API call, which is used in test assertions
> S3Guard: S3GuardTool to support provisioning existing metadata store
> --------------------------------------------------------------------
>
> Key: HADOOP-14345
> URL: https://issues.apache.org/jira/browse/HADOOP-14345
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Reporter: Mingliang Liu
> Assignee: Steve Loughran
> Priority: Minor
>
> I don't know if this is considered a requested feature from S3Guard code, as
> the user can always provision the DDB tables via the cloud portal.
> Implementing should be straightforward. The {{DynamoDBMetadataStore}} has
> provision method to use.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]