Re: [VOTE] JanusGraph 0.6.0 release


Clement de Groc
 

Hey Boxuan,

Good catch !

To the best of my knowledge, this type of error usually means there is a mix of scala 2.11 and scala 2.12 libraries.

TinkerPop 3.5 switched to Spark 3 and Scala 2.12 (https://github.com/apache/tinkerpop/blob/master/spark-gremlin/pom.xml#L88).

But I see (at least one) reference to Scala 2.11 libraries in janusgraph-hadoop (https://github.com/JanusGraph/janusgraph/blob/master/janusgraph-hadoop/pom.xml#L77).

I would try chasing down libraries pulling Scala 2.11 and upgrading them.
I can look into that on Monday if noone has before.

Best,
Clement

Le sam. 14 août 2021 à 06:36, Boxuan Li <liboxuan@...> a écrit :
I downloaded https://github.com/JanusGraph/janusgraph/releases/download/v0.6.0/janusgraph-0.6.0.zip, tried a simple traversal using SparkGraphComputer on my laptop but failed:

:plugin use tinkerpop.hadoop
:plugin use tinkerpop.spark
graph = GraphFactory.open('conf/hadoop-graph/read-cql.properties')
g = graph.traversal().withComputer(SparkGraphComputer)
g.V().count()
with error `java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;`

I don't have scala or Spark installed locally. The same traversal worked well on the 0.5.3 version. I personally never ran any workload on Spark before, so I am not sure if this is expected, or due to a library conflict in Janusgraph distribution. If anyone familiar with Spark can shed some light or test by themselves, it would be very helpful. Otherwise, I am afraid 0.6.0 might not work well with Spark.

Best,
Boxuan

Join janusgraph-dev@lists.lfaidata.foundation to automatically receive all group messages.