Uploaded image for project: 'Giraph (Retired)'
  1. Giraph (Retired)
  2. GIRAPH-245

BasicRPCCommunications fails with custom vertices

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • None
    • None
    • None

    Description

      BasicRPCCommunications assumes that every vertex is an instance of MutableVertex in line 1265:

       
            if (vertex != null) {
              ((MutableVertex<I, V, E, M>) vertex).setVertexId(vertexIndex);
              partition.putVertex(vertex);
            }
      

      For custom vertices that only extend BasicVertex, this code fails with a ClassCastException

      Attachments

        Issue Links

          Activity

            People

              apresta Alessandro Presta
              ssc Sebastian Schelter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: