Hello everybody,
I've been playing with Hadoop for a few days, and I'm only starting to
explore it's beauty.
In an attempt to learn on the Grep Example, I ended up wondering whether you
can actually extract from within a map, on which file you are currently
running.
e.g. Suppose I want to grep
From here:
http://wiki.apache.org/hadoop/TaskExecutionEnvironment
The following properties are localized for each task's JobConf:
*Name*
*Type*
*Description*
mapred.job.id
String
The job id
mapred.task.id
String
The task id
mapred.task.is.map
boolean
Is this a map task