List Info

Thread: Map getRank()




Map getRank()
user name
2006-07-19 20:17:56
In MPI, getRank() gives an unique id to identify a process.
Is there an
equivalent in Hadoop that uniquely identify each map
process? 


Thanks,
VJ 

Map getRank()
user name
2006-07-19 21:18:00
Yes, in the configuration object that gets passed to the
Task there is 
a "mapred.task.id" field that has the unique
taskid. (See 
Task.localizeConfiguration() for even more information.)

ben

On Wednesday 19 July 2006 13:17, Vijay Murthi wrote:
> In MPI, getRank() gives an unique id to identify a
process. Is there an
> equivalent in Hadoop that uniquely identify each map
process?
>
>
> Thanks,
> VJ
Map getRank()
user name
2006-07-20 06:54:28
On Jul 19, 2006, at 2:18 PM, Benjamin Reed wrote:

> Yes, in the configuration object that gets passed to
the Task there is
> a "mapred.task.id" field that has the
unique taskid. (See
> Task.localizeConfiguration() for even more
information.)

I also wrote a Wiki page today on the task execution
environment that 
includes the localized parameters for tasks at: 
http://wiki.apache.org/lucene-hadoop/TaskExecutionE
nvironment

-- Owen


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )