Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Hadoop and the fly likes Context Vs Output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Databases » Hadoop
Bookmark "Context Vs Output" Watch "Context Vs Output" New topic

Context Vs Output

Varadhan Sesharaman
Ranch Hand

Joined: Apr 21, 2011
Posts: 30

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

Joined: Jul 28, 2010
Posts: 153

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
Gartner says :Bigdata will be most advanced analytics products by 2015 !

Time to Become Big data architect by learning Hadoop(Developer, Administration,Analyst,QA),Cassandra,MongoDb,HBase,Datascience, Mahout, Splunk,R etc) from scratch to expert level
subject: Context Vs Output