简体   繁体   中英

Install library in databricks from private maven repository

I'm trying to install a library from Maven in Databricks. The repository is private. I'm trying to install it using a repository like https://user:pass@host/, but it gives me 'unresolved dependency'. When I try to download it from mvn cli, then it works.

Any ideas?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM