diff options
author | Charles Reiss <charles@eecs.berkeley.edu> | 2013-03-11 14:17:05 -0700 |
---|---|---|
committer | Charles Reiss <charles@eecs.berkeley.edu> | 2013-03-11 14:17:05 -0700 |
commit | 769d399674f47caf840739ebfc9e7a5b5cb9aef6 (patch) | |
tree | 38cb472934ae60c0a13a1dbfa6ad34e679937f3c /core/src | |
parent | 2e1bbc4e7ec13717f235e5ba9c136dd711eb603c (diff) | |
download | spark-769d399674f47caf840739ebfc9e7a5b5cb9aef6.tar.gz spark-769d399674f47caf840739ebfc9e7a5b5cb9aef6.tar.bz2 spark-769d399674f47caf840739ebfc9e7a5b5cb9aef6.zip |
Send block sizes as longs.
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/scala/spark/storage/BlockManagerMessages.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/main/scala/spark/storage/BlockManagerMessages.scala b/core/src/main/scala/spark/storage/BlockManagerMessages.scala index 1494f90103..cff48d9909 100644 --- a/core/src/main/scala/spark/storage/BlockManagerMessages.scala +++ b/core/src/main/scala/spark/storage/BlockManagerMessages.scala @@ -49,16 +49,16 @@ class UpdateBlockInfo( blockManagerId.writeExternal(out) out.writeUTF(blockId) storageLevel.writeExternal(out) - out.writeInt(memSize.toInt) - out.writeInt(diskSize.toInt) + out.writeLong(memSize) + out.writeLong(diskSize) } override def readExternal(in: ObjectInput) { blockManagerId = BlockManagerId(in) blockId = in.readUTF() storageLevel = StorageLevel(in) - memSize = in.readInt() - diskSize = in.readInt() + memSize = in.readLong() + diskSize = in.readLong() } } |