-
Notifications
You must be signed in to change notification settings - Fork 9
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
Failed to find data source: kinesis #7
Comments
Same here |
I am getting the same error message, when I try to run it from Scala object in Eclipse, via a Maven build. However, if I run the spark-shell and run the spar.readStrea.format("kinesis").option... in REPL, it works just fine. Any clues as to why that is the case? Here is the the Stack trace. Exception in thread "main" java.lang.ClassNotFoundException: Failed to find data source: kinesis. Please find packages at http://spark.apache.org/third-party-projects.html
|
Hi Did this ever get resolved? Thanks Rob |
Spark structured streaming is not supported for Kinesis currently |
Do anyone know is this issue resolved or any work around for this? |
|
I tried with all the following combinations of jars Still getting above error: spark-tags_2.11-2.4.0.jar, ##################################################################### spark-tags_2.11-2.4.3.jar, ########################################## |
I am getting following exception when trying to read from Kinesis. Any idea? using "spark-streaming-kinesis-asl_2.11"
Exception in thread "main" java.lang.ClassNotFoundException: Failed to find data source: kinesis. Please find packages at http://spark.apache.org/third-party-projects.html
at org.apache.spark.sql.execution.datasources.DataSource$.lookupDataSource(DataSource.scala:549)
at org.apache.spark.sql.execution.datasources.DataSource.providingClass$lzycompute(DataSource.scala:86)
at org.apache.spark.sql.execution.datasources.DataSource.providingClass(DataSource.scala:86)
at org.apache.spark.sql.execution.datasources.DataSource.sourceSchema(DataSource.scala:195)
at org.apache.spark.sql.execution.datasources.DataSource.sourceInfo$lzycompute(DataSource.scala:87)
at org.apache.spark.sql.execution.datasources.DataSource.sourceInfo(DataSource.scala:87)
at org.apache.spark.sql.execution.streaming.StreamingRelation$.apply(StreamingRelation.scala:30)
at org.apache.spark.sql.streaming.DataStreamReader.load(DataStreamReader.scala:150)
at nativo.data.hackathon.RealtimeAggregator$.main(RealtimeAggregator.scala:49)
at nativo.data.hackathon.RealtimeAggregator.main(RealtimeAggregator.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: java.lang.ClassNotFoundException: kinesis.DefaultSource
The text was updated successfully, but these errors were encountered: