Azure / azure-sqldb-spark

This project provides a client library that allows Azure SQL DB or SQL Server to act as an input source or output sink for Spark jobs.
MIT License
76 stars 52 forks source link

databricks could not download dependencies from Maven repository #88

Closed sunscorch closed 4 years ago

sunscorch commented 4 years ago

try to install this lib from databricks. We encounter this error. this a transient issue and want to know why this will occur

Library installation failed for library maven { coordinates: 'com.microsoft.azure:azure-sqldb-spark:1.0.2' } . Error messages: Library resolution failed. Cause: java.lang.RuntimeException: Cannot download some libraries due to transient Maven issue. Please try again later. at com.databricks.libraries.server.MavenInstaller.downloadMavenPackagesWithRetry(MavenLibraryResolver.scala:166) at com.databricks.libraries.server.MavenInstaller.resolveMavenPackages(MavenLibraryResolver.scala:113) at com.databricks.libraries.server.MavenLibraryResolver.resolve(MavenLibraryResolver.scala:44) at com.databricks.libraries.server.ManagedLibraryManager$GenericManagedLibraryResolver.resolve(ManagedLibraryManager.scala:241) at com.databricks.libraries.server.ManagedLibraryManagerImpl.$anonfun$resolvePrimitives$1(ManagedLibraryManagerImpl.scala:193) at com.databricks.libraries.server.ManagedLibraryMan ... ***WARNING: message truncated. Skipped 1712 bytes of output**

arvindshmicrosoft commented 4 years ago

If the issues connecting to Maven from Databricks are persistent, the best option would be to download the JAR manually, and then upload it using the Library functionality in Databricks as suggested here.

As this library is not actively maintained and the above issue is most likely due to environment-specific reasons, I am closing this issue. Thank you for your understanding.