context.getAttribute("shuffleServerMetrics");
try {
shuffleMetrics.serverHandlerBusy();
outStream = response.getOutputStream();
JobConf conf = (JobConf) context.getAttribute("conf");
LocalDirAllocator lDirAlloc =
(LocalDirAllocator)context.getAttribute("localDirAllocator");
FileSystem fileSys =
(FileSystem) context.getAttribute("local.file.system");
// Index file
Path indexFileName = lDirAlloc.getLocalPathToRead(
mapId+"/file.out.index", conf);
// Map-output file
Path mapOutputFileName = lDirAlloc.getLocalPathToRead(
mapId+"/file.out", conf);
/**
* Read the index file to get the information about where
* the map-output for the given reducer is available.