[ 
https://issues.apache.org/jira/browse/HADOOP-17879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406817#comment-17406817
 ] 

Steve Loughran commented on HADOOP-17879:
-----------------------------------------

+[~snehav]

> Unable to use custom SAS tokens for accessing files from ADLS gen2 storage 
> accounts with hierarchical namespace enabled.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-17879
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17879
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/azure, tools
>            Reporter: Arun Ravi M V
>            Priority: Major
>
> I have some parquet files in abfss://[email protected]/folder1/. 
> I generated the User Delegation SAS token with the following permission on 
> 'folder1'
> SAS_SIGNED_PERMISSIONS -> "racwdxltmeop"
> But when I read from "abfss://[email protected]/folder1/"
> I get a *HTTP 403 error*, I believe this happens when ABFSS driver makes use 
> of `*getACLStatus*` API call to determine whether the storage service has 
> hierarchical namespace enabled or not.
>  
> I found a workaround, ie to set *fs.azure.account.hns.enabled* to *true* 
> which would skip get ACL API call and as folder level SAS only works for HNS 
> enabled accounts. May I know if this behavior is expected and the workaround 
> I am using is stable for production use and if there are any hidden 
> implications?
>  
> Thank you in advance. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to