100%(1)1 out of 1 people found this document helpful
This preview shows page 1 out of 1 page.
Name: ___________________________USC ID: ______________________INF 551 – Fall 2019Quiz 10: Hadoop MapReduce (10 points),10 minutesConsider the WordCount program you have seen in class (with TokenizerMapper and IntSumReducer).Assume that theCombineris used which executes the same reduce function as the Reducer. Supposethat the program takes a directory with two input files: file1 and file2 whose contents are as follows.File1 has 3 lines while file2 has 2 lines.File1File2here and thereheretherehere or therenot here1.[1 point] How many Map tasks will Hadoop create for the above input directory?2 map tasks, 1 per file.2.[5 points] What are the key-value pairs (please specify the content of both key and value) thateach Map task will handle? What key-value pairs will it output?