File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!