Re: Sorting a csv file

2014-01-17 Thread unmesha sreeveni
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 >>> >>>

Re: Sorting a csv file

2014-01-16 Thread unmesha sreeveni
utput key and map output value as the >> total values " b,a,v " >> >> >> >> Regards... >> Ramya.S >> >> >> >> >> >> From: unmesha sreeveni [mailto:unmeshab...@gmail.com] >>

Re: Sorting a csv file

2014-01-15 Thread unmesha sreeveni
> > > > 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

RE: Sorting a csv file

2014-01-15 Thread Ramya S
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

Re: Sorting a csv file

2014-01-15 Thread unmesha sreeveni
} >} > } > > 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

RE: Sorting a csv file

2014-01-15 Thread Ramya S
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

Re: Sorting a csv file

2014-01-15 Thread unmesha sreeveni
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();*

Sorting a csv file

2014-01-15 Thread unmesha sreeveni
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/