hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13982) ADL To map container 403 to AccessDeniedException
Date Wed, 04 Apr 2018 15:14:00 GMT

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

Steve Loughran commented on HADOOP-13982:
-----------------------------------------

present in trunk (without the pending SDK updates). 403 should map to an AccessDeniedException.changing
title

Full stack

{code}
com.microsoft.azure.datalake.store.ADLException: Error getting info for file /
Operation GETFILESTATUS failed with HTTP403 : null
Last encountered exception thrown after 1 tries. [HTTP403(null)]
 [ServerRequestId:ecd3c5d0-352a-4661-8ff0-15bfadd138cf]
	at com.microsoft.azure.datalake.store.ADLStoreClient.getExceptionFromResponse(ADLStoreClient.java:1169)
	at com.microsoft.azure.datalake.store.ADLStoreClient.getDirectoryEntry(ADLStoreClient.java:737)
	at org.apache.hadoop.fs.adl.AdlFileSystem.getFileStatus(AdlFileSystem.java:488)
	at org.apache.hadoop.fs.store.diag.StoreDiag.executeFileSystemOperations(StoreDiag.java:382)
	at org.apache.hadoop.fs.store.diag.StoreDiag.run(StoreDiag.java:274)
	at org.apache.hadoop.fs.store.diag.StoreDiag.run(StoreDiag.java:170)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
	at org.apache.hadoop.fs.store.diag.StoreDiag.exec(StoreDiag.java:535)
	at org.apache.hadoop.fs.store.diag.StoreDiag.main(StoreDiag.java:545)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:308)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:222)
{code}


> ADL To map container 403 to AccessDeniedException
> -------------------------------------------------
>
>                 Key: HADOOP-13982
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13982
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/adl
>    Affects Versions: 3.0.0-alpha2
>            Reporter: John Zhuge
>            Assignee: Atul Sikaria
>            Priority: Major
>              Labels: supportability
>
> The error message when accessing a store without permission is not user friendly:
> {noformat}
> $ hdfs dfs -ls adl://STORE.azuredatalakestore.net/
> ls: Operation GETFILESTATUS failed with HTTP403 : null
> {noformat}
> Store {{STORE}} exists but Hadoop is configured with an SPI that does not have access
to the store.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message