Azure-Samples / cdm-azure-data-services-integration

Tutorials and sample code for integrating CDM folders with Azure Data Services
MIT License
70 stars 46 forks source link

java.lang.ClassNotFoundException: Failed to find data source: com.microsoft.cdm #18

Open reza8i opened 4 years ago

reza8i commented 4 years ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Setup the cluster using the "5.2 (includes Apache Spark 2.4.0, Scala 2.11)" runtime version Imported the latest version of the library tried to run the following command in my notebook: partiesDf = (spark.read.format("com.microsoft.cdm") .option("cdmModel", inputLocation) .option("entity", "IN_PARTIES") .option("appId", appID) .option("appKey", appKey) .option("tenantId", tenantID) .load())

Any log messages given by the failure

java.lang.ClassNotFoundException: Failed to find data source: com.microsoft.cdm. Please find packages at http://spark.apache.org/third-party-projects.html

Expected/desired behavior

Expect the read to happen

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) Windows 10

Versions

N/A

Mention any other details that might be useful

N/A


Thanks! We'll be in touch soon.