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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to