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