Hi I'm working with PIG, trying to do a GROUP BY operation. I get an Java Heap OutOfMemory in the Combiner phase, if I disabled the combiner phase it works. But, there're not too data and I don't understand what's happening.
The error looks like this JIRA ( https://issues.apache.org/jira/browse/PIG-1442), but, I'm using PIG 0.12, so, it's suppose that I was resolved a long time ago. The output of the Map is about 50Mb and the field for grouping has about 20 different values. The sentences that I'm trying to execute are: s = foreach inputPig generate $10,$5; g = GROUP s BY ($0); outputPig = FOREACH g GENERATE FLATTEN(group), AVG(s.$1);