亚马逊 DynamoDB:警告 "Configured write throughput of the dynamodb table JobDetails is less than the cluster map capacity"

Amazon DynamoDB: warning "Configured write throughput of the dynamodb table JobDetails is less than the cluster map capacity"

我在 Amazon EMR 上使用 Apache Hive 将一些数据从 Amazon DynamoDB 批量下载到 Amazon S3。我收到了以下警告:

WARNING: Configured write throughput of the dynamodb table JobDetails is less than the cluster map capacity. ClusterMapCapacity: 20 WriteThroughput: 5

WARNING: Writes to this table might result in a write outage on the table.

我认为WriteThroughput与我的DynamoDB配置有关table。

这个警告是什么意思? ClusterMapCapacity 是否与我的 EMR 集群相关?

这个警告是我应该解决的问题,还是我可以忽略它?

是的,你应该解决这个问题。

最多可以有 20 个地图作业同时写入 table,而 table 每秒仅接受 5 个写入请求。

因此,您需要在 table 上至少有 20 个写入容量(如果 map 可以每秒写入多次,则甚至更多)以避免节流(节流意味着数据可能会丢失)。