qubole / streaminglens

Qubole Streaminglens tool for tuning Spark Structured Streaming Pipelines
http://www.qubole.com
Apache License 2.0
17 stars 5 forks source link

StreamingLens cannot be cast to scala.runtime.Nothing #2

Open arunbenoyv opened 3 years ago

arunbenoyv commented 3 years ago

While running Qubole pipeline facing the following exception

App > java.lang.ClassCastException: com.qubole.spark.streaminglens.StreamingLens cannot be cast to scala.runtime.Nothing$ App > at scala.Option.foreach(Option.scala:407) App > at org.apache.spark.sql.streaming.StreamingQueryManager.updateInsightManagerTrigger(StreamingQueryManager.scala:508) App > at org.apache.spark.sql.streaming.StreamingQueryManager.startQuery(StreamingQueryManager.scala:489) App > at org.apache.spark.sql.streaming.DataStreamWriter.start(DataStreamWriter.scala:319)

What could be the possible reasons for it and what's the solution around it?