Michael wrote:
I think i found the problem:
At MapOutputFile.java:123
bytesToRead = Math.min((int) unread, buffer.length);

if unread is greater then 2^31, bytesToRead will be negative.

So the fix is to change this to:

bytesToRead = (int)Math.min(unread, buffer.length);

Right?  Does this fix things for you?  If so, I'll commit it.

Thanks,

Doug

Reply via email to