@Anuj, Singh (Cognizant) - I'm glad that you were able to resolve your issue with the help of support and I'm posting the solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .
Ask: Azure Databricks fail to install Geospark libraries from Maven?
Solution: The issue is resolved with the help of support ticket and here is the resolution:
OP's cluster VM is not able to reach out to the public Maven repository to download the necessary package and its dependencies. Thus, the failure. It was due to firewall restriction at your databricks VNET, most likely you are forwarding all VNET outbound traffic through some firewall and that firewall is not allowing the VNET to communicate with Maven public repo.
We have recommended the following things.
- You could either check with your networking team and if it is indeed a firewall restriction scenario as I have explained above, then please ask them to whitelist the maven public repository in your firewall.
- Or you could also try to install the package by downloading the jar file from maven repo as shown below, then uploading to your databricks dbfs filesystem and installing it from there locally:
- OP has followed the steps recommended step of installation of Sedona Package i.e. Install Sedona from the init script & we downloaded the JAR files manually into and uploaded into Volume since DBFS has been deprecated by data bricks. They were able to install the library successfully.
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.