Skip to content
Snippets Groups Projects
Commit 6503c4b5 authored by Robin East's avatar Robin East Committed by Reynold Xin
Browse files

[SPARK-10598] [DOCS]

Comments preceding toMessage method state: "The edge partition is encoded in the lower
   * 30 bytes of the Int, and the position is encoded in the upper 2 bytes of the Int.". References to bytes should be changed to bits.

This contribution is my original work and I license the work to the Spark project under it's open source license.

Author: Robin East <robin.east@xense.co.uk>

Closes #8756 from insidedctm/master.
parent 833be733
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ object RoutingTablePartition {
/**
* A message from an edge partition to a vertex specifying the position in which the edge
* partition references the vertex (src, dst, or both). The edge partition is encoded in the lower
* 30 bytes of the Int, and the position is encoded in the upper 2 bytes of the Int.
* 30 bits of the Int, and the position is encoded in the upper 2 bits of the Int.
*/
type RoutingTableMessage = (VertexId, Int)
......
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