Skip to content
Snippets Groups Projects
Commit 00c4d238 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Merge pull request #518 from woggling/long-bm-sizes

Send block sizes as longs in BlockManager updates
parents cbf8f0d4 769d3996
No related branches found
No related tags found
No related merge requests found
......@@ -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()
}
}
......
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