Michael wrote:
I'm not sure how java interacts with auto type casting (i'm from C
world), and i found, that java don't support unsigned int, so i did
like this:

     int bytesToRead=buffer.length;
     if(((int)unread)>0)
     {
            bytesToRead = Math.min((int) unread, buffer.length);
     }

I think the patch I proposed is simpler and correct.  I committed it.

Yes, this helped me, though i don't understand why others haven't
experienced such problem.

I think the reason that I have not seen it is is that I usually run hundreds of map tasks, and the output of a single map task has never been greater than 2GB.

Thanks for catching this!

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