missing methods in the org.projectnessie.client.api

23 views
Skip to first unread message

Jacopo Tagliabue

unread,
Mar 27, 2023, 1:54:51 PM3/27/23
to projectnessie
Hi all,

I just started using Nessie this week-end and built my own containerized version of the generic commands shown in the nessie-iceberg-demo-nba.ipynb demo. Thanks so much for your incredible work!

Some of them work indeed fine - e.g.  USE REFERENCE main IN dev_catalog,  SHOW TABLES IN dev_catalog, CREATE BRANCH etc. After a bit of fiddling around, I was able to run Nessie as its own container and use s3 instead of local storage to host the files (see below).

Screen Shot 2023-03-27 at 1.49.10 PM.png

However, some commands trigger "method not found error" : LIST for example cannot be executed

An error occurred while calling o53.sql.\n: java.lang.NoSuchMethodError: org.projectnessie.client.api.GetAllReferencesBuilder.stream(

and MERGE is also triggering an exception

An error occurred while calling o53.sql.\n: java.lang.NoSuchMethodError: org.projectnessie.client.api.MergeReferenceBuilder.merge()

I'm running Spark 3.3, with nessie-spark-extensions-3.3_2.12-0.53.1 for your reference - but I'm a bit puzzled by the fact that certain commands clearly work and others don't.

Is there something obvious I'm missing here?

Thanks in advance for your help!



Alfredo Serafini

unread,
May 30, 2023, 11:10:02 AM5/30/23
to projectnessie
Hi Jacopo, 

I'm new to Nessie, but the error (java.lang.NoSuchMethodError) typically suggests that some of the jar libraries was compiled againsta a different jvm version, than the one used for runtime.

If I'm not wrong nessie jar should be deployed on spark 3.3, which requires java 9+, scala 2.12+ and sscala-reflect (2.13+ ?), so I would start checking those requirements.

I hope this helps,
Alfredo

Dmitri Bourlatchkov

unread,
May 30, 2023, 11:15:26 AM5/30/23
to Alfredo Serafini, projectnessie

--
You received this message because you are subscribed to the Google Groups "projectnessie" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectnessi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectnessie/bbfd80e1-d6bd-46eb-ba2a-fd6ecdb44c05n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages