cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to mount the blob storage account as soft delete got enabled

SailajaB
Valued Contributor III

Hi Team,

when we try to mount or access the blob storage where soft delete enabled. But it is getting failed with below error

org.apache.hadoop.fs.FileAlreadyExistsException: Operation failed: "This endpoint does not support BlobStorageEvents or SoftDelete. Please disable these account features if you would like to use this endpoint.&#[34;, 409, HEAD]​ 

Can anyone suggest what is the actual issue and solution for this?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Kaniz_Fatma
Community Manager
Community Manager

Hi @Sailaja B​ ,

As per the Managed identities for Azure resource authentication document:

 Note

  • If your blob account enables soft delete, system-assigned/user-assigned managed identity authentication is not supported in Data Flow.
  • If you access the blob storage through a private endpoint using Data Flow, note when system-assigned/user-assigned managed identity authentication is used Data Flow connects to the ADLS Gen2 endpoint instead of the Blob endpoint. Make sure you create the corresponding private endpoint in ADF to enable access.

To resolve this issue, you have a couple of options:

Option1: Disable the soft delete option

Screenshot 2022-02-25 at 4.51.34 AMOption2: Changing the linked service type for a source file from Azure Data Lake Storage Gen2 to Azure Blob Storage in the linked service.

View solution in original post

6 REPLIES 6

-werners-
Esteemed Contributor III

Jeez, I was planning on enabling soft delete on our adls gen2, but I think I will wait a while after reading this.

SailajaB
Valued Contributor III

Sorry. I updated the case..

Mount is working with ADLS gen2 soft delete. We tested that one

But the same is not working for blob storage soft delete.

-werners-
Esteemed Contributor III

Tnx for the heads up!

Kaniz_Fatma
Community Manager
Community Manager

Hi @Sailaja B​ ,

As per the Managed identities for Azure resource authentication document:

 Note

  • If your blob account enables soft delete, system-assigned/user-assigned managed identity authentication is not supported in Data Flow.
  • If you access the blob storage through a private endpoint using Data Flow, note when system-assigned/user-assigned managed identity authentication is used Data Flow connects to the ADLS Gen2 endpoint instead of the Blob endpoint. Make sure you create the corresponding private endpoint in ADF to enable access.

To resolve this issue, you have a couple of options:

Option1: Disable the soft delete option

Screenshot 2022-02-25 at 4.51.34 AMOption2: Changing the linked service type for a source file from Azure Data Lake Storage Gen2 to Azure Blob Storage in the linked service.

SailajaB
Valued Contributor III

Thank you for the reply.

If blob storage got enabled with soft delete , we should use only AccessKey or SAS to do mount .

SP won't work

In ADLS Gen2 irrespective of soft delete option we can mount

Thank you

Hi @Sailaja B​ , If that solves your query, would you like to mark it as the best answer?

Connect with Databricks Users in Your Area

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