简体   繁体   中英

How to load data into dynamodb table from the reducer of a hadoop job

I was unsuccessful in finding a sample mapreduce job to write data to dynamoDB. Any references.

If hive is a possible solution for you, you can look here: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/EMR_Hive_Commands.html

It's pretty straight forward if you use tools like PIG and hive - just declare your input table as S3 (or whatever), your output table as a DynamoDB one, and perform INSERT TABLE X SELECT * FROM Y

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM