【发布时间】:2014-06-16 13:17:37
【问题描述】:
我们使用的是使用 Kryo 2.17 的 Storm 0.9.1,我们有将数据插入到内部使用 Kryo 2.21 的 Titan 图形数据库的模块,这会导致以下问题:
java.lang.RuntimeException: com.esotericsoftware.kryo.KryoException: java.lang.IllegalArgumentException: 无法设置 com.thinkaurelius.titan.graphdb.types.TypeAttributeType 字段 com.thinkaurelius.titan.graphdb.types .TypeAttribute.type 到 com.thinkaurelius.titan.graphdb.types.TypeAttribute 序列化跟踪: 类型(com.thinkaurelius.titan.graphdb.types.TypeAttribute)
我们如何解决这个问题,因为在 Storm 中将 Kryo 升级到 2.21 不会导致此类方法错误。我们还尝试在泰坦图数据库中将 Kryo 降级到 2.17,但我们面临与上述相同的问题。
【问题讨论】:
标签: apache-storm titan kryo