[ 
https://issues.apache.org/jira/browse/HADOOP-15426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16556275#comment-16556275
 ] 

Steve Loughran commented on HADOOP-15426:
-----------------------------------------

working with existing DDB tables. Note that you can't change capacity that often
{code}
[ERROR] 
testBatchedWriteExceedsProvisioned(org.apache.hadoop.fs.s3a.s3guard.ITestDynamoDBMetadataStoreScale)
  Time elapsed: 2.144 s  <<< ERROR!
org.apache.hadoop.fs.s3a.AWSServiceThrottledException: ProvisionTable on 
hwdev-steve-new: 
com.amazonaws.services.dynamodbv2.model.LimitExceededException: Subscriber 
limit exceeded: Provisioned throughput decreases are limited within a given UTC 
day. After the first 4 decreases, each subsequent decrease in the same UTC day 
can be performed at most once every 3600 seconds. Number of decreases today: 6. 
Last decrease at Wednesday, July 25, 2018 8:48:14 PM UTC. Next decrease can be 
made at Wednesday, July 25, 2018 9:48:14 PM UTC (Service: AmazonDynamoDBv2; 
Status Code: 400; Error Code: LimitExceededException; Request ID: 
GKD04NJL981O84MNB30G77RCGVVV4KQNSO5AEMVJF66Q9ASUAAJG): Subscriber limit 
exceeded: Provisioned throughput decreases are limited within a given UTC day. 
After the first 4 decreases, each subsequent decrease in the same UTC day can 
be performed at most once every 3600 seconds. Number of decreases today: 6. 
Last decrease at Wednesday, July 25, 2018 8:48:14 PM UTC. Next decrease can be 
made at Wednesday, July 25, 2018 9:48:14 PM UTC (Service: AmazonDynamoDBv2; 
Status Code: 400; Error Code: LimitExceededException; Request ID: 
GKD04NJL981O84MNB30G77RCGVVV4KQNSO5AEMVJF66Q9ASUAAJG)
        at 
org.apache.hadoop.fs.s3a.s3guard.ITestDynamoDBMetadataStoreScale.testBatchedWriteExceedsProvisioned(ITestDynamoDBMetadataStoreScale.java:105)
Caused by: com.amazonaws.services.dynamodbv2.model.LimitExceededException: 
Subscriber limit exceeded: Provisioned throughput decreases are limited within 
a given UTC day. After the first 4 decreases, each subsequent decrease in the 
same UTC day can be performed at most once every 3600 seconds. Number of 
decreases today: 6. Last decrease at Wednesday, July 25, 2018 8:48:14 PM UTC. 
Next decrease can be made at Wednesday, July 25, 2018 9:48:14 PM UTC (Service: 
AmazonDynamoDBv2; Status Code: 400; Error Code: LimitExceededException; Request 
ID: GKD04NJL981O84MNB30G77RCGVVV4KQNSO5AEMVJF66Q9ASUAAJG)
        at 
org.apache.hadoop.fs.s3a.s3guard.ITestDynamoDBMetadataStoreScale.testBatchedWriteExceedsProvisioned(ITestDynamoDBMetadataStoreScale.java:105)
{code}


> S3guard DDB throttle events on reads not being retried
> ------------------------------------------------------
>
>                 Key: HADOOP-15426
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15426
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.1.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Blocker
>         Attachments: Screen Shot 2018-07-24 at 15.16.46.png
>
>
> managed to create on a parallel test run
> {code}
> org.apache.hadoop.fs.s3a.AWSServiceThrottledException: delete on 
> s3a://hwdev-steve-ireland-new/fork-0005/test/existing-dir/existing-file: 
> com.amazonaws.services.dynamodbv2.model.ProvisionedThroughputExceededException:
>  The level of configured provisioned throughput for the table was exceeded. 
> Consider increasing your provisioning level with the UpdateTable API. 
> (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: 
> ProvisionedThroughputExceededException; Request ID: 
> RDM3370REDBBJQ0SLCLOFC8G43VV4KQNSO5AEMVJF66Q9ASUAAJG): The level of 
> configured provisioned throughput for the table was exceeded. Consider 
> increasing your provisioning level with the UpdateTable API. (Service: 
> AmazonDynamoDBv2; Status Code: 400; Error Code: 
> ProvisionedThroughputExceededException; Request ID: 
> RDM3370REDBBJQ0SLCLOFC8G43VV4KQNSO5AEMVJF66Q9ASUAAJG)
>       at 
> {code}
> We should be able to handle this. 400 "bad things happened" error though, not 
> the 503 from S3.
> h3. We need a retry handler for DDB throttle operations



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to