Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please give answers for the following ques Topic: DATABASE MANAGEMENT SYSTEMS Qu

ID: 3819972 • Letter: P

Question

Please give answers for the following ques Topic: DATABASE MANAGEMENT SYSTEMS Question 1 (30 pts) Write a MapReduce JAVA program. You will need to write a MapReduce job that reads in text input and computes the average length of all words that start with each character. For any text input, the job should report the average length of words that begin with 'a', 'b', and so forth. For example, for input: No now is definitely not the time The output would be: N 2.0 10.0 2.0 3.5 For initial solution, your program should be case sensitive as shown in the example. The frameworks of the java programs are given in your workspace directory /home/training/training materials developer/exercises/averagew ordlength/src/stub Please fill in the TODO parts and compile the program. To test your program, please use the test file in folder: /home/training/training materials developer/data/shakespeare

Explanation / Answer

//LetterMapper.java

==========================================================================

//AvgWordLength.java

============================================================================

//AverageReducer.java

======================================================================