cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
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.




 

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.