0

I have a map/reduce I am looking at on cassandra and it has this line in the reducer

context.write(key, new IntWritable(sum));

and I would like to see the full list of keys and their total count. Where do I go to get this information.

as an example, I see the word count example but see no code for outputting stuff to the screen but somehow it does output stuff to the screen. Where is my output for my map/reduce going then?

http://hadoop.apache.org/docs/stable/mapred_tutorial.html#Example%3A+WordCount+v2.0

thanks, Dean

1
  • 1
    ... It "outputs stuff to the screen" because it runs cat via HDFS. The file is wherever you've defined your HDFS to be. Commented Sep 12, 2013 at 16:18

1 Answer 1

1

Your Map/Reduce output goes to an output directory in HDFS that you define in your code or as a runtime parameter, or in your job configuration file.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.