Re: How to get the job name inside MapTask?

2012-04-18 Thread Harsh J
If new API, use the available Map/Reduce context object: context.getJobName() If old API: Grab the configuration object and look for value of "mapred.job.name". On Thu, Apr 19, 2012 at 5:31 AM, Qu Chen wrote: > Hi, > > I am trying to get the actual job name (e.g. WordCount, Sort, etc) inside >

How to get the job name inside MapTask?

2012-04-18 Thread Qu Chen
Hi, I am trying to get the actual job name (e.g. WordCount, Sort, etc) inside MapTask class. How can I do that? Thanks, - Qu

Open the input file

2012-04-18 Thread Hassen Riahi
Hi all, I am using the streaming library of hadoop-0.20 to be able to write map and reduce functions in python. Is it possible to make hadoop MapReduce not opening the input files? the map function does not need the stream of input files contents. Has someone tried this already? Thanks! Hassen