Hello
I want to get the id of each mapper and reducer task because I want to tag the output of these mappers and reducers according to the mapper and reducer id. How can I retrieve the ids of each?
Thanks
From stackoverflow
-
you can do it using: org.apache.hadoop.mapreduce.MapContext::getTaskAttemptID().
0 comments:
Post a Comment