spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject spark git commit: [SPARK-10598] [DOCS]
Date Tue, 15 Sep 2015 06:41:10 GMT
Repository: spark
Updated Branches:
  refs/heads/master 833be7331 -> 6503c4b5f


[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.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/6503c4b5
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/6503c4b5
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/6503c4b5

Branch: refs/heads/master
Commit: 6503c4b5f3cf3ba9aefc850e7874a62a218b9b0a
Parents: 833be73
Author: Robin East <robin.east@xense.co.uk>
Authored: Mon Sep 14 23:41:06 2015 -0700
Committer: Reynold Xin <rxin@databricks.com>
Committed: Mon Sep 14 23:41:06 2015 -0700

----------------------------------------------------------------------
 .../scala/org/apache/spark/graphx/impl/RoutingTablePartition.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/6503c4b5/graphx/src/main/scala/org/apache/spark/graphx/impl/RoutingTablePartition.scala
----------------------------------------------------------------------
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 eb3c997..4f1260a 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)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message