Raghvendra Singh created HADOOP-16842:
-----------------------------------------

             Summary: abfs can't access storage account if soft delete is 
enabled
                 Key: HADOOP-16842
                 URL: https://issues.apache.org/jira/browse/HADOOP-16842
             Project: Hadoop Common
          Issue Type: Task
          Components: fs/azure
    Affects Versions: 3.1.3
            Reporter: Raghvendra Singh


Facing the issue in which if soft delete is enabled on storage account.

Hadoop fs -ls command fails with 
Operation failed: "This endpoint does not support BlobStorageEvents or 
SoftDelete. Please disable these account features if you would like to use this 
endpoint.", 409, HEAD, 
https://<account_name>.[dfs.core.windows.net/test-container-1//?upn=false&action=getAccessControl&timeout=90|http://dfs.core.windows.net/test-container-1//?upn=false&action=getAccessControl&timeout=90]

Command :
hadoop fs 
-Dfs.azure.account.auth.type.<account_name>.[dfs.core.windows.net|http://dfs.core.windows.net/]=OAuth
 
-Dfs.azure.account.oauth.provider.type.<account_name>.[dfs.core.windows.net|http://dfs.core.windows.net/]=org.apache.hadoop.fs.azurebfs.oauth2.MsiTokenProvider
 -ls 
[abfs://test-container-1]@<account_name>.[dfs.core.windows.net/|http://dfs.core.windows.net/]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to