You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by Samaneh Shokuhi <sa...@gmail.com> on 2012/11/18 15:04:15 UTC
question :sorting in MapTask and straggler mapper
Hi,
i have two questions :
1) As i understood ,before shuffling the data to reducer, kind of sorting
is done on Map phase (MapTask.java).
I want to do some experiments by disabling this sorting .
I think this sorter [ private final IndexedSorter sorter; ] is responsible
to do sort in sortAndSpill method .so if i remove this part, the sorting
will be disabled in map phase. Am i right or it is more complicated than i
think ?
2) My second question is ,i need to detect the straggler map tasks
specifically the last one.As i know job tracker is aware of all map tasks
,so is there any way to know the current map task is the last(straggler)
one ?
Best,
Samaneh