In spark-shell mode, I can get the correct result using the following code. <http://apache-spark-user-list.1001560.n3.nabble.com/file/n19958/4.png> But it throws an error when I built a jar and run it by spark-submit. The error log is as followed <http://apache-spark-user-list.1001560.n3.nabble.com/file/n19958/5.png>
What's wrong with GraphX? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/GraphX-java-lang-NoSuchMethodError-org-apache-spark-graphx-Graph-apply-tp19958.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org