Skip to content
Snippets Groups Projects
Commit e5b9ed28 authored by Reynold Xin's avatar Reynold Xin
Browse files

Merge pull request #808 from pwendell/ui_compressed_bytes

Report compressed bytes read when calculating TaskMetrics
parents 37964863 3d8f2816
No related branches found
No related tags found
No related merge requests found
......@@ -132,9 +132,10 @@ object BlockFetcherIterator {
"Unexpected message " + blockMessage.getType + " received from " + cmId)
}
val blockId = blockMessage.getId
val networkSize = blockMessage.getData.limit()
results.put(new FetchResult(blockId, sizeMap(blockId),
() => dataDeserialize(blockId, blockMessage.getData, serializer)))
_remoteBytesRead += req.size
_remoteBytesRead += networkSize
logDebug("Got remote block " + blockId + " after " + Utils.getUsedTimeMs(startTime))
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment