cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Some streams terminated before this command could finish! -> java.lang.NoClassDefFoundError: scala/c

lakime
New Contributor III

Hello

I do face:

Some streams terminated before this command could finish!

java.lang.NoClassDefFoundError: scala/compat/java8/FutureConverters$

Running some very simple query on eventhub :

df = spark \
.readStream \
.format("eventhubs") \
.options(**ehConf) \
.load()

query = df \
.writeStream \
.outputMode("append") \
.format("console") \
.start()
 
My current setup is Runtime 13.3 LTS (Scala 2.12, Spark 3.4.1)
azure_eventhubs_spark_2_12_2_3_17.jar (manually installed)
I have tried different versions (mostly Runtime and eventhubs spark) - but it is still failing ...
Can someone point me to proper set-up of version to have that working ? 
1 ACCEPTED SOLUTION

Accepted Solutions

lakime
New Contributor III

Of course just after writing that post I did realized how dummy this question is .... after adding scala_java8_compat_2_12_1_0_2.jar it works as expected

View solution in original post

2 REPLIES 2

lakime
New Contributor III

Of course just after writing that post I did realized how dummy this question is .... after adding scala_java8_compat_2_12_1_0_2.jar it works as expected

Kaniz
Community Manager
Community Manager

Hi @lakime , I want to express my gratitude for your effort in selecting the most suitable solution. It's great to hear that your query has been successfully resolved. Thank you for your contribution.




 

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!