Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Context Vs Output

 
Varadhan Sesharaman
Ranch Hand
Posts: 30
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I am a beginer in Hadoop.

What is the main diffreence between Context and Output in hadoop.

I know in Context write method is used to write the output and in Output collect method is used to put the output ,other than that is there any major difference.

Or where to use Context and where to use Output in hadoop?

Thanks in advance.
 
Malatesh Karabisti
Ranch Hand
Posts: 153
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The difference is between old and new api

see this
New Api
use "context" object to communicate with mapReduce system

Old Api
JobCon , the OutputCollecto and the Reporter object used for communicate with Map reduce System

hope that helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic