问题标签 [spark-bagel]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - 我们可以在 GraphX pregel API 中发送 java 对象作为消息的一部分吗?
我在graphX的pregel API中发送一个java复杂java对象作为消息,我在运行时收到以下错误
java.lang.IllegalArgumentException at com.esotericsoftware.reflectasm.shaded.org.objectweb.asm.ClassReader.(Unknown Source) at com.esotericsoftware.reflectasm.shaded.org.objectweb.asm.ClassReader.(Unknown Source) at com. org.apache.spark.graphx.util.BytecodeUtils$.getClassReader(BytecodeUtils.scala:91) at org.apache.spark.graphx.util 的 esotericsoftware.reflectasm.shaded.org.objectweb.asm.ClassReader.(Unknown Source) .BytecodeUtils$._invokedMethod(BytecodeUtils.scala:67) at org.apache.spark.graphx.util.BytecodeUtils$.invokedMethod(BytecodeUtils.scala:41) at org.apache.spark.graphx.impl.GraphImpl.accessesVertexAttr(GraphImpl .scala:298) at org.apache.spark.graphx.impl.GraphImpl.mapReduceTriplets(GraphImpl.scala:210) at org.apache.spark.graphx.Pregel$.apply(Pregel.scala:124) at org.apache .spark.graphx.GraphOps.pregel(GraphOps.scala:362) 在 com.ulb.code。wit.main.TestGraph$.main(TestGraph.scala:32) 在 com.ulb.code.wit.main.TestGraph.main(TestGraph.scala)
任何人都可以知道为什么会这样。