DynamoDB EMR Hive连接器一次写入1个项目

时间:2019-06-06 13:37:26

标签: hive amazon-dynamodb amazon-emr

当使用配置单元> INSERT OVERWRITE TABLE t SELECT * FROM s3data;按需写入dynamodb时,我注意到它一次写入1个项目,这从下面的写入容量图可以明显看出。这是设置

SET dynamodb.throughput.write.percent=1.0;
CREATE EXTERNAL TABLE IF NOT EXISTS t (userId string, categoryName string, score double)
STORED BY 'org.apache.hadoop.hive.dynamodb.DynamoDBStorageHandler'
TBLPROPERTIES ("dynamodb.table.name" = "data.reader-score.test",
"dynamodb.column.mapping" = "userId:userId,categoryName:categoryName,score:score", 
"dynamodb.throughput.write" = "5000");

还必须进行其他配置吗?

enter image description here

0 个答案:

没有答案