cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

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

PiotrU
Contributor II

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

PiotrU
Contributor II

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

1 REPLY 1

PiotrU
Contributor II

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

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now