aboutsummaryrefslogtreecommitdiff
path: root/graphx/src
diff options
context:
space:
mode:
authorRobin East <robin.east@xense.co.uk>2015-09-14 23:41:06 -0700
committerReynold Xin <rxin@databricks.com>2015-09-14 23:41:06 -0700
commit6503c4b5f3cf3ba9aefc850e7874a62a218b9b0a (patch)
treeba32239868aa5bf333c59b56c6fdc032d56ba586 /graphx/src
parent833be73314b85b390a9007ed6ed63dc47bbd9e4f (diff)
downloadspark-6503c4b5f3cf3ba9aefc850e7874a62a218b9b0a.tar.gz
spark-6503c4b5f3cf3ba9aefc850e7874a62a218b9b0a.tar.bz2
spark-6503c4b5f3cf3ba9aefc850e7874a62a218b9b0a.zip
[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.
Diffstat (limited to 'graphx/src')
-rw-r--r--graphx/src/main/scala/org/apache/spark/graphx/impl/RoutingTablePartition.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphx/src/main/scala/org/apache/spark/graphx/impl/RoutingTablePartition.scala b/graphx/src/main/scala/org/apache/spark/graphx/impl/RoutingTablePartition.scala
index eb3c997e0f..4f1260a5a6 100644
--- a/graphx/src/main/scala/org/apache/spark/graphx/impl/RoutingTablePartition.scala
+++ b/graphx/src/main/scala/org/apache/spark/graphx/impl/RoutingTablePartition.scala
@@ -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)