我们可以在GraphX pregel API中将java对象作为消息的一部分发送吗?
我在graphX中的pregel API中以消息的形式发送一个java复杂java对象,在运行时遇到以下错误 java.lang.IllegalArgumentException位于com.esotericsoftware.reflectasm.shade.org.objectweb.asm.ClassReader.(未知源)位于com.esotericsoftware.reflectasm.shade.org.objectweb.asm.ClassReader.(未知源)位于com.esotericsoftware.reflectasm.shade.org.objectweb.asm.ClassReader.(未知源)在org.apache.spark.graphx.util.BytecodeUtils$.getClassReader(BytecodeUtils.scala:91)在org.apache.spark.graphx.util.BytecodeUtils$在org.apache.spark.graphx.impl.GraphImpl.mapreductriplets(GraphImpl.scala:210)在org.apache.spark.graphx.Pregel$.apply(Pregel.scala:124)在org.apache.spark.graphx.graphhops.Pregel(graphps.scala:362)在com.ulb.code.wit.main.TestGraph$.main(TestGraph.scala:32)在com.ulb.code.wit.main.TestGraph.TestGraph.main(TestGraph.scala)上我们可以在GraphX pregel API中将java对象作为消息的一部分发送吗?,java,apache-spark,spark-graphx,spark-bagel,Java,Apache Spark,Spark Graphx,Spark Bagel,我在graphX中的pregel API中以消息的形式发送一个java复杂java对象,在运行时遇到以下错误 java.lang.IllegalArgumentException位于com.esotericsoftware.reflectasm.shade.org.objectweb.asm.ClassReader.(未知源)位于com.esotericsoftware.reflectasm.shade.org.objectweb.asm.ClassReader.(未知源)位于com.esot
有人能告诉我为什么会发生这种情况。据我所知,GraphX只适用于Scala…请提供一个详细的说明。对于Apache Spark问题,也不要使用标记。@GlennieHellesSindholt为什么要使用标记?缺少JavaAPI并不意味着你不能使用它。