t;> On Thu, Jan 16, 2014 at 10:11 AM, Ramya S wrote:
>>
>>> Try to keep col2 values as map output key and map output value as the
>>> total values " b,a,v "
>>>
>>>
>>>
>>> Regards...
>>> Ramya.S
>>>
>>>
utput key and map output value as the
>> total values " b,a,v "
>>
>>
>>
>> Regards...
>> Ramya.S
>>
>>
>>
>>
>>
>> From: unmesha sreeveni [mailto:unmeshab...@gmail.com]
>>
>
>
>
> Regards...
> Ramya.S
>
>
>
>
>
> From: unmesha sreeveni [mailto:unmeshab...@gmail.com]
> Sent: Thu 1/16/2014 9:29 AM
> To: User Hadoop
> Subject: Re: Sorting a csv file
>
>
> Thanks Ramya.s
> I was trying it to do
Try to keep col2 values as map output key and map output value as the total
values " b,a,v "
Regards...
Ramya.S
From: unmesha sreeveni [mailto:unmeshab...@gmail.com]
Sent: Thu 1/16/2014 9:29 AM
To: User Hadoop
Subject: Re: Sorting a csv fil
}
>}
> }
>
> Regards...?
> Ramya.S
>
>
>
>
> From: unmesha sreeveni [mailto:unmeshab...@gmail.com]
> Sent: Wed 1/15/2014 4:11 PM
> To: User Hadoop
> Subject: Re: Sorting a csv file
>
>
> I did a map only job for sortin
context.write(word, one);
System.out.println("sort: "+word);
}
}
}
Regards...?
Ramya.S
From: unmesha sreeveni [mailto:unmeshab...@gmail.com]
Sent: Wed 1/15/2014 4:11 PM
To: User Hadoop
Subject: Re: Sorting a csv file
I did a
I did a map only job for sorting a txt file by editing wordcount program.
I only need the key .
How to set value to null.
*public class SortingCsv {*
* public static class Map extends Mapper {*
*private final static IntWritable one = new IntWritable(1);*
*private Text word = new Text();*
How to sort a csv file
I know , between map and reduce shuffle and sort is taking place.
But how do i sort each column in a csv file?
--
*Thanks & Regards*
Unmesha Sreeveni U.B
Junior Developer
http://www.unmeshasreeveni.blogspot.in/