Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-3635

Find Strongly Connected Components with Graphx has a small bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.1.0
    • 1.1.1, 1.2.0
    • GraphX
    • None
    • VMWare, Centos 6.5

    Description

      The strongly connected components function (spark / graphx / src / main / scala / org / apache / spark / graphx / lib / StronglyConnectedComponents.scala) has a typo in the condition on line 78.
      I think the condition should be "if (e.srcAttr._1 < e.dstAttr._1)" instead of "if (e.srcId < e.dstId)"

      Attachments

        Activity

          People

            Unassigned Unassigned
            odedz Oded Zimerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: