Re: NoSuchMethodError

Joe Obernberger

The answer to my problem was telling spark-submit to use the user classes first with:
--conf spark.executor.userClassPathFirst = true
--conf spark.driver.userClassPathFirst = true


On 5/18/2022 9:57 AM, Joe Obernberger via wrote:

Hi All - I'm trying to write a spark job to load data from Cassandra in to a graph, but I'm getting this:

Exception in thread "main" java.lang.NoSuchMethodError: 'void, java.lang.String, java.lang.Object)'
        at org.janusgraph.diskstorage.configuration.ConfigElement.<init>(
        at org.janusgraph.diskstorage.configuration.ConfigNamespace.<init>(
        at org.janusgraph.diskstorage.configuration.ConfigNamespace.<init>(
        at org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.<clinit>(
        at org.janusgraph.core.JanusGraphFactory$

Which version of guava should I be using in the allinone jar? I've tried a many different once, but no luck.


This email has been checked for viruses by AVG.

Join to automatically receive all group messages.