Number of reducers for a limit should be 1. If you are seeing 2, there's a
bug. What version of Pig are you using? I can't duplicate this in my setup

On Sun, Oct 16, 2011 at 8:04 PM, China Alice <[email protected]> wrote:

> Recently, I use pig Latin language ,when it comes to limit clause,for
> example
>
> t = load 'input.txt' using PigStorage(',');
> t2 = order t1 by $1;
> t3 = limit t2 5;
> in the process ,the number of reduce is 2,so the amount of data is ten
> rather than five,how can I to let  the amount of data is five.
>

Reply via email to