0

These are my steps to include:

  1. I have to include JSON file from S3.
  2. File contains uid, ag, gn, yob, scrtp attribute.
  3. I have to make key as uid and value as ag, gn, yob, scrtp value, and that is included in HashMap collection.
  4. Reducer will reduce it according to key. Hash value can also be calculated based on key as I have 5 database in MongoDB.

I am expecting result to be written into 5 Mongo database according to hash value and write should be bulk write. How to achieve this as above steps?

0 Answers0