I have a graph, g, which is roughly 4.5M vertices and 43M edges as:
scala> g res10: org.graphframes.GraphFrame = GraphFrame(v:[id: int], e:[src: int, dst: int])
I would like to calculate the shortest path between two given vertices, so I have run
val shortest_path = g.shortestPaths.landmarks(Seq("1","2")).run().
based on the documentation provided here. While this runs and generates the shortest_path dataframe, when I try to .show() that dataframe I get:
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer.
Suggestions?