Skip to content

Commit

Permalink
Merge with latest master.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin authored and aarondav committed Oct 10, 2014
1 parent 407e59a commit f6c220d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,9 @@ final class NioBlockTransferService(conf: SparkConf, securityManager: SecurityMa
private def getBlock(blockId: String): ByteBuffer = {
val startTimeMs = System.currentTimeMillis()
logDebug("GetBlock " + blockId + " started from " + startTimeMs)
// TODO(rxin): propagate error back to the client?
val buffer = blockDataManager.getBlockData(blockId)
logDebug("GetBlock " + blockId + " used " + Utils.getUsedTimeMs(startTimeMs)
+ " and got buffer " + buffer)
if (buffer == null) null else buffer.nioByteBuffer()
buffer.nioByteBuffer()
}
}

0 comments on commit f6c220d

Please sign in to comment.