diff options
author | zsxwing <zsxwing@gmail.com> | 2014-10-21 10:37:13 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2014-10-21 10:37:13 -0700 |
commit | c262cd5ddce75333ec936e90b81278c3992841ec (patch) | |
tree | 1a37298631aacac3907fa6ef24bcc26ba9990542 /core | |
parent | 2aeb84bc79b643912d26e08ec2d87e444027fefc (diff) | |
download | spark-c262cd5ddce75333ec936e90b81278c3992841ec.tar.gz spark-c262cd5ddce75333ec936e90b81278c3992841ec.tar.bz2 spark-c262cd5ddce75333ec936e90b81278c3992841ec.zip |
[SPARK-4035] Fix a wrong format specifier
Just found a typo. Should not use "%f" for Long.
Author: zsxwing <zsxwing@gmail.com>
Closes #2875 from zsxwing/SPARK-4035 and squashes the following commits:
ce347e2 [zsxwing] Fix a wrong format specifier
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/scala/org/apache/spark/storage/BlockManager.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/storage/BlockManager.scala b/core/src/main/scala/org/apache/spark/storage/BlockManager.scala index 3f5d06e1ae..0ce2a3f631 100644 --- a/core/src/main/scala/org/apache/spark/storage/BlockManager.scala +++ b/core/src/main/scala/org/apache/spark/storage/BlockManager.scala @@ -870,7 +870,7 @@ private[spark] class BlockManager( logTrace(s"Trying to replicate $blockId of ${data.limit()} bytes to $peer") blockTransferService.uploadBlockSync( peer.host, peer.port, blockId.toString, new NioByteBufferManagedBuffer(data), tLevel) - logTrace(s"Replicated $blockId of ${data.limit()} bytes to $peer in %f ms" + logTrace(s"Replicated $blockId of ${data.limit()} bytes to $peer in %d ms" .format((System.currentTimeMillis - onePeerStartTime))) peersReplicatedTo += peer peersForReplication -= peer |