-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: ClassNotFoundException: za.co.absa.abris.avro.read.confluent.SchemaManager #315
Comments
Can you manually open the jar and check the class is there? |
Hi @cerveada, I extracted the code and I can see the class in above bath. Could the error be related to something else? Can this be because the library versions are not aligned? Thank you |
Can you provide the whole exception with a stack trace? Or maybe the whole log of that run? You can upload files and it may help to find the issue here. |
Hi @cerveada, Unfortunately, there is not much info in the stack trace:
|
I opened the jar from maven https://mvnrepository.com/artifact/za.co.absa/abris_2.12/6.3.0
There is no In Scala there can be class and object both having the same name. In Java this is not possible so when compiling the object names have the In Abris SchemaManager object was last present in version 3.2 So it looks like your code is using the SchemaManager object somewhere and that is causing the issue. |
Hi @cerveada, Oh wow, I thought I saw it when I extracted the code. Hmm... Isn't that the same one? Or does it get excluded from the library? Thank you |
As I was trying to explain in the previous message, there are two classes:
The object was removed in Abris 4.
That is the scala class, but you can see that in that file there is no scala object defined. This may explain better what object I am talking about: |
Hello,
I'm getting below error when running Spark submit job:
Spark: 3.2.1
I'm using the latest library from maven. Any idea how to solve this issue?
Thank you
The text was updated successfully, but these errors were encountered: