You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/03/29 06:00:28 UTC
[jira] [Updated] (SPARK-14219) Fix `pickRandomVertex` not to fall
into infinite loops for graphs with one vertex
[ https://issues.apache.org/jira/browse/SPARK-14219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin updated SPARK-14219:
--------------------------------
Fix Version/s: 1.6.2
> Fix `pickRandomVertex` not to fall into infinite loops for graphs with one vertex
> ---------------------------------------------------------------------------------
>
> Key: SPARK-14219
> URL: https://issues.apache.org/jira/browse/SPARK-14219
> Project: Spark
> Issue Type: Bug
> Components: GraphX
> Reporter: Dongjoon Hyun
> Assignee: Dongjoon Hyun
> Fix For: 1.6.2, 2.0.0
>
>
> Currently, `GraphOps.pickRandomVertex()` falls into infinite loops for graphs having only one vertex. This issue fixes it by modifying the following termination-checking condition.
> {code}
> - if (selectedVertices.count > 1) {
> + if (selectedVertices.count > 0) {
> {code}
--
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