Hello, I am new to java and hadoop and trying to complete a homework question. Do you have a tutorial I could follow? Or a suggestion on how to get
View the step-by-step solution to:

Question

Hello,


I am new to java and hadoop and trying to complete a

homework question.


Do you have a tutorial I could follow? Or a suggestion on how to get the expected output? All the tutorials i am seeing are summing the values and writing a key and result (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html#Example:_WordCount_v1.0). However I need to do something slightly different.


I need to return the src, the tgt with the highest weight, and the weight (i believe this is a tuple of (tgt, weight). In the event of a tie, return the tgt with the lowest number - that's why the output for bob is "bob 70,3"


INPUT

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes