首页 > 解决方案 > 从私有 Maven 存储库在数据块中安装库

问题描述

我正在尝试在 Databricks 中安装来自 Maven 的库。存储库是私有的。我正在尝试使用 https://user:pass@host/ 之类的存储库安装它,但它给了我“未解决的依赖关系”。当我尝试从 mvn cli 下载它时,它可以工作。

有任何想法吗?

标签: mavendatabricksazure-databricks

解决方案


Unfortunately, installing libraries from Maven private repositories is not support in Azure Databricks.

As per the documentation, Azure Databricks has the ability to install third-party or custom libraries from the Maven public repository and not from private maven repository.

As an alternate solution, you can upload library file in dbfs and install from there.


推荐阅读