Skip to content

Commit

Permalink
Removed open time metrics added inadvertently
Browse files Browse the repository at this point in the history
  • Loading branch information
kayousterhout committed Feb 12, 2015
1 parent ace156c commit 94e4237
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ private[spark] class SortShuffleWriter[K, V, C](
sorter.insertAll(records)
}

val fileOpenStartTime = System.nanoTime
val outputFile = shuffleBlockManager.getDataFile(dep.shuffleId, mapId)
writeMetrics.incShuffleWriteTime(System.nanoTime - fileOpenStartTime)
val blockId = shuffleBlockManager.consolidateId(dep.shuffleId, mapId)
val partitionLengths = sorter.writePartitionedFile(blockId, context, outputFile)
shuffleBlockManager.writeIndexFile(dep.shuffleId, mapId, partitionLengths)
Expand Down

0 comments on commit 94e4237

Please sign in to comment.