โ06-29-2022 07:10 AM
Hi Team,
The Databricks job fails with the below error while creating EXTERNAL table.
com.simba.spark.jdbc41.internal.apache.http.wire - Error running query: MetaException(message:Got exception: org.apache.hadoop.fs.azure.AzureException com.microsoft.azure.storage.StorageException: Public access is not permitted on this storage account.)
MetaException(message:Got exception: org.apache.hadoop.fs.azure.AzureException com.microsoft.azure.storage.StorageException: Public access is not permitted on this storage account.), Query: CREATE EXTERNAL TABLE
Can you please suggest if there is any permission missing in WASB storage?
Regards,
Rajesh.
โ06-29-2022 07:37 AM
Hi @Rajesh Kannan Rโ , Can you verify the networking configuration on your storage account? Check the Firewall rule to see if public access is enabled for all networks. Enable all network and see if it resolves your issue.
If you have restricted public access then the workspace has to be NPIP and you must have all the required workspace traffic to be whitelisted.
https://docs.microsoft.com/en-us/azure/databricks/security/secure-cluster-connectivity
โ06-29-2022 08:46 AM
@Vivian Wilfred
Hi Vivian,
Thank you for your quick update. Let me check the settings and update you.
โ06-29-2022 09:05 PM
@Vivian Wilfredโ
Hi Vivian,
As I checked the network settings for the storage account and it is set to "Enabled from all networks".
Regards,
Rajesh.
โ06-30-2022 01:43 PM
โ06-30-2022 10:15 PM
@Vivian Wilfredโ
Hi Vivian,
It is working when Blob public access is enabled, but as security concerns, our customers don't want to enable Blob public access. Is there any other way we can publish to databricks table without enabling blob public access?
โ07-07-2022 08:26 AM
@Vivian Wilfredโ
Hi Vivian,
Can you please let me know is there any other way to create a table without enabling blob public access?
Regards,
Rajesh.
โ07-07-2022 09:51 AM
Hi @Rajesh Kannan Rโ , Allow Blob Public Access means that a storage account allows public blob/container access levels on the containers. If this is disabled then it means all containers must be private. When containers are private then you must authenticate with key, sp, etc. Please validate the authentication for these containers.
โ07-11-2022 08:54 AM
@Vivian Wilfredโ
Hi Vivian,
Thank you for the update. I will check and get back to you.
Regards,
Rajesh.
โ08-22-2022 04:18 AM
@Arjun Kaimaparambil Rajanโ
Hi Arjun,
We use sasToken to authenticate blob storage.
Regards
Rajesh.
โ08-30-2022 08:06 AM
Hey there @Rajesh Kannan Rโ
Hope all is well!
Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group