Two Laptop Bag*
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 Android Security Essentials Live Lessons this week in the Android 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
I agree. Here's the link:
subject: Context Vs Output
Similar Threads
Hadoop MapReduce
Hadoop on Windows
what is the use java "out" object
How to save the output of Reducer of a Hadoop Map Reduce as csv
to choose hadoop career