sangroya 2012-01-30, 15:11
John Conwell 2012-01-30, 16:40
sangroya 2012-02-08, 13:59
bejoy.hadoop@... 2012-02-08, 15:33
-Re: Sorting text data
Owen O'Malley 2012-02-08, 17:05
On Wed, Feb 8, 2012 at 5:59 AM, sangroya <[EMAIL PROTECTED]> wrote:
> I tried to run the sort example by specifying the input format. But I got
> the following error, while running it.
You actually need a different mapper to make the whole thing work. I
made a patch for Sort.java that should do the trick.
Just run the sort with -text and it will set the input format, output
format, key type, value type, and also set the mapper that I added so
that you move the line to the key instead of the value.