private void shuffleToMemory(MapHost host, MapOutput mapOutput,
InputStream input,
int decompressedLength,
int compressedLength) throws IOException {
IFileInputStream checksumIn =
new IFileInputStream(input, compressedLength, ifileReadAhead, ifileReadAheadLength);
input = checksumIn;
// Are map-outputs compressed?
if (codec != null) {