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

Simplify Pregel by merging joins

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • GraphX
    • None

    Description

      Pregel code contains two consecutive joins:
      ```
      g.vertices.innerJoin(messages)(vprog)
      ...
      g = g.outerJoinVertices(newVerts)

      { (vid, old, newOpt) => newOpt.getOrElse(old) }

      ```
      They can be replaced by one join. Ankur Dave proposed a patch based on our discussion in mailing list: https://www.mail-archive.com/dev@spark.apache.org/msg10316.html

      Attachments

        Activity

          People

            avulanov Alexander Ulanov
            avulanov Alexander Ulanov
            Ankur Dave Ankur Dave
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified