-
Notifications
You must be signed in to change notification settings - Fork 173
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
Spark job with eventhubs in Databricks ends: Failed to find data source: eventhubs #284
Comments
This was resolved by calling |
Hey @ritazh, this is an issue with how your Databricks cluster is configured. The most common cases have been when there are multiple versions of the library attached to your cluster. I'd recommend:
Then |
Thanks for your interest in the connector :) Please let me know if anything else comes up! If not, feel free to close out the issue. |
hey @sabeegrewal , I am facing the same above issue... In my case I am creating the jar file in local using Intellij and running the file in databricks cluster using spark-submit... can you please let me know what could be the issue?? |
@ManjunathGuntha do the steps I listed above...just do it with the JAR you're building locally. You have too many "EventHubsSourceProvider"s available on the cluster. |
I'm experiencing the same issue. I have trying to connect to IoT Hub (Eventhub-compatible endpoint). I'm trying from the Jupyter Notebook. ehConf = { 'eventhubs.connectionString' : eventHubNSConnStr } An error occurred while calling o196.load. Any help will be much appreciated! |
@ganges-morekonda |
I am having same issue. The only workaround is the one posted by Rita - calling .format("org.apache.spark.sql.eventhubs.EventHubsSourceProvider") directly. |
Bug Report:
When running the following spark job in Databricks:
Expected behavior
Should be able to find the class.
Spark version
2.3.0
cc @erikschlegel
The text was updated successfully, but these errors were encountered: