spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cookies (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-4249) A problem of EdgePartitionBuilder in Graphx
Date Wed, 05 Nov 2014 13:07:33 GMT

     [ https://issues.apache.org/jira/browse/SPARK-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Cookies updated SPARK-4249:
---------------------------
    Description: 
https://github.com/apache/spark/blob/master/graphx/src/main/scala/org/apache/spark/graphx/impl/EdgePartitionBuilder.scala#L48
in function toEdgePartition, code snippet      index.update(srcIds(0), 0)
the elements in array srcIds are all not initialized and are all 0. The effect is that if
vertex ids don't contain 0, indexSize is equal to (realIndexSize + 1) and 0 is added to the
`index`
It seems that all versions have the problem

  was:
https://github.com/apache/spark/blob/master/graphx/src/main/scala/org/apache/spark/graphx/impl/EdgePartitionBuilder.scala#L48
in function toEdgePartition, code snippet
      index.update(srcIds(0), 0)
the elements in array srcIds are all not initialized and are all 0. The effect is that if
vertex ids don't contain 0, indexSize is equal to (realIndexSize + 1) and 0 is added to the
`index`
It seems that all versions have the problem


> A problem of EdgePartitionBuilder in Graphx
> -------------------------------------------
>
>                 Key: SPARK-4249
>                 URL: https://issues.apache.org/jira/browse/SPARK-4249
>             Project: Spark
>          Issue Type: Bug
>          Components: GraphX
>    Affects Versions: 1.1.0
>            Reporter: Cookies
>            Priority: Minor
>
> https://github.com/apache/spark/blob/master/graphx/src/main/scala/org/apache/spark/graphx/impl/EdgePartitionBuilder.scala#L48
> in function toEdgePartition, code snippet      index.update(srcIds(0), 0)
> the elements in array srcIds are all not initialized and are all 0. The effect is that
if vertex ids don't contain 0, indexSize is equal to (realIndexSize + 1) and 0 is added to
the `index`
> It seems that all versions have the problem



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message