apache-sparkdatabricksdatasourceclassnotfoundexceptiondatabricks-community-edition

SparkClassNotFoundException: [DATA_SOURCE_NOT_FOUND] Failed to find data source: dbc


I am using DataBricks Community Edition Here is the code: code

It seems tht Spark cannot read or process the .dbc file format. I have this error:

org.apache.spark.SparkClassNotFoundException: [DATA_SOURCE_NOT_FOUND] Failed to find data source: dbc. Please find packages at https://spark.apache.org/third-party-projects.html.

Based on my searches for a fix, I need to install a package that supports the .dbc file. The problem is i don't know which package. Unless there are other solutions aside from installing a package.


Solution

  • The .dbc file extension is used for storing Databricks notebooks, it's not something that you will need to open using Spark. If you need to open it, use the Import menu item to pull it into the Databricks workspace. See documentation for more details about notebooks.