RE: More on issue with local vs mapreduce mode

2013-11-06 Thread Serega Sheypak
> log.info("Into the exec function"); > // rest of the code > } > > > public CustomFilter () > { > > log.info("Hello World!"); > } > > > > From: serega.shey...@gmail.com > > D

RE: More on issue with local vs mapreduce mode

2013-11-06 Thread Sameer Tilak
uot;Hello World!"); } > From: serega.shey...@gmail.com > Date: Wed, 6 Nov 2013 21:19:10 +0400 > Subject: Re: More on issue with local vs mapreduce mode > To: user@pig.apache.org > > You get 4 empty tuples. > Maybe your UDF parser.customFilter(key,'A')

Re: More on issue with local vs mapreduce mode

2013-11-06 Thread Serega Sheypak
t; > -rw-r--r-- 1 username groupname 4 2013-11-06 07:14 > /scratch/AU/part-m-0 > > I am not sure whether DUMP will give me correct result, but when I > replaced store by dump AU in the mapredue mode then I get > AU as: > () > () > () > () > > > Fr

RE: More on issue with local vs mapreduce mode

2013-11-06 Thread Sameer Tilak
y dump AU in the mapredue mode then I get AU as: () () () () > From: serega.shey...@gmail.com > Date: Wed, 6 Nov 2013 11:19:03 +0400 > Subject: Re: More on issue with local vs mapreduce mode > To: user@pig.apache.org > > "The same script does not work in the mapreduce mode.

Re: More on issue with local vs mapreduce mode

2013-11-05 Thread Serega Sheypak
"The same script does not work in the mapreduce mode. " What does it mean? 2013/11/6 Sameer Tilak > Hello, > > My script in the local mode works perfectly. The same script does not work > in the mapreduce mode. For the local mode, the o/p is saved in the current > directory, where as for the ma

More on issue with local vs mapreduce mode

2013-11-05 Thread Sameer Tilak
Hello, My script in the local mode works perfectly. The same script does not work in the mapreduce mode. For the local mode, the o/p is saved in the current directory, where as for the mapreduce mode I use /scrach directory on HDFS. Local mode: A = LOAD 'file.seq' USING SequenceFileLoader AS