java.lang.ClassNotFoundException: Failed to find data source: com.databricks.spark.redshift. Please find packages at http://spark-packages.org

GitHub | proinsias | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Failed to find data source: com.databricks.spark.redshift

    GitHub | 7 months ago | proinsias
    java.lang.ClassNotFoundException: Failed to find data source: com.databricks.spark.redshift. Please find packages at http://spark-packages.org
  2. 0

    "Failed to find data source: parquet" when making a fat jar with maven

    Stack Overflow | 6 months ago | Valeria Chernenko
    java.lang.ClassNotFoundException: Failed to find data source: parquet. Please find packages at http://spark-packages.org
  3. 0

    java.lang.ClassNotFoundException: text.DefaultSource

    Stack Overflow | 5 months ago | nastia klochkova
    java.lang.ClassNotFoundException: Failed to find data source: text. Please find packages at http://spark-packages.org
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.ClassNotFoundException: Failed to find data source: json

    Stack Overflow | 4 months ago | user2757652
    java.lang.ClassNotFoundException: Failed to find data source: json. Please find packages at https://cwiki.apache.org/confluence/display/SPARK/Third+Party+Projects
  6. 0

    Spark 2.0.2 SQL Streaming - Failed to find data source: kafka

    Stack Overflow | 3 months ago | benjguin
    java.lang.ClassNotFoundException: Failed to find data source: kafka. Please find packages at https://cwiki.apache.org/confluence/display/SPARK/Third+Party+Projects

  1. tyson925 2 times, last 7 months ago
  2. rsprangemeijer 6 times, last 4 days ago
  3. marcbouvierdav 26 times, last 5 days ago
  4. batwalrus76 12 times, last 6 days ago
  5. musketyr 1 times, last 6 days ago
69 more registered users
26 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    com.databricks.spark.redshift.DefaultSource

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    3 frames
  3. org.apache.spark
    DataSource$$anonfun$5$$anonfun$apply$1.apply
    1. org.apache.spark.sql.execution.datasources.DataSource$$anonfun$5$$anonfun$apply$1.apply(DataSource.scala:130)
    2. org.apache.spark.sql.execution.datasources.DataSource$$anonfun$5$$anonfun$apply$1.apply(DataSource.scala:130)
    2 frames
  4. Scala
    Try$.apply
    1. scala.util.Try$.apply(Try.scala:192)
    1 frame
  5. org.apache.spark
    DataSource$$anonfun$5.apply
    1. org.apache.spark.sql.execution.datasources.DataSource$$anonfun$5.apply(DataSource.scala:130)
    2. org.apache.spark.sql.execution.datasources.DataSource$$anonfun$5.apply(DataSource.scala:130)
    2 frames
  6. Scala
    Try.orElse
    1. scala.util.Try.orElse(Try.scala:84)
    1 frame
  7. org.apache.spark
    DataSource.resolveRelation
    1. org.apache.spark.sql.execution.datasources.DataSource.lookupDataSource(DataSource.scala:130)
    2. org.apache.spark.sql.execution.datasources.DataSource.providingClass$lzycompute(DataSource.scala:78)
    3. org.apache.spark.sql.execution.datasources.DataSource.providingClass(DataSource.scala:78)
    4. org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:310)
    4 frames
  8. Spark Project SQL
    DataFrameReader.load
    1. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:149)
    2. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:122)
    2 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  10. Py4J
    GatewayConnection.run
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:237)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
    3. py4j.Gateway.invoke(Gateway.java:280)
    4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:128)
    5. py4j.commands.CallCommand.execute(CallCommand.java:79)
    6. py4j.GatewayConnection.run(GatewayConnection.java:211)
    6 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame