getting class cast exception ( ERROR: Integer cannot be cast to String)

2014-04-22 Thread Prabhakar
Hi, I am getting very strange exception, i don't understand why i am getting this exception. when i am dumping or storing the jndScoreAttrWithDevices i am getting the class cast exception saying cannot convert Integer to String. but i am able to dump or store grpByScoreattributevalueFroMlg and

Number of map task

2014-04-22 Thread Patcharee Thongtra
Hi, I wrote a custom InputFormat. When I ran the pig script Load function using this InputFormat, the number of InputSplit = 16, but there was only 2 map tasks handling these splits. Apparently the no. of map tasks = the no. of input files. Does the number of Map task not correspond to the

Re: Number of map task

2014-04-22 Thread Pradeep Gollakota
Pig is a little too smart when dealing with data. It has a feature called split combination. If you set it to false, you should see more mappers. SET pig.noSplitCombination true; On Tue, Apr 22, 2014 at 12:14 PM, Patcharee Thongtra patcharee.thong...@uni.no wrote: Hi, I wrote a custom