Please take a look at the patch for MAPREDUCE-4807. It allows one
to plug in an external sort implementation in the map phase. There is a
test TestMerge.java(which is part of the Jira) that has an
implementation of a map phase sorter that avoids sorting.
On 04/21/2013 07:54 AM, Samaneh Shokuhi wrote:
> Hi All,
> I have modified the MapTask.java file and tried to disable sort part for
> some reasons . I have removed this line
> *sorter.sort(MapOutputBuffer.this, kvstart, endPosition, reporter); *in
> sortAndSpill method but no changes seen in result. I have expected to get
> unsorted keys as mapper output but was not like that.
> My question is did i perform right action to disable sort or something else
> needs to be done ?