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

Steve Loughran commented on HADOOP-15710:
-----------------------------------------

Current stack
{code}
[ERROR] 
testContinuationTokenHavingEqualSign(org.apache.hadoop.fs.azurebfs.ITestAbfsClient)
  Time elapsed: 1.46 s  <<< ERROR!
HEAD 
http://<somebody>.dfs.core.windows.net/abfs-testcontainer-3a5ba43a-f641-4598-be0b-f388e32c4998?resource=filesystem&timeout=90
StatusCode=403
StatusDescription=Server failed to authenticate the request. Make sure the 
value of Authorization header is formed correctly including the signature.
ErrorCode=
ErrorMessage=
        at 
org.apache.hadoop.fs.azurebfs.services.AbfsRestOperation.execute(AbfsRestOperation.java:127)
        at 
org.apache.hadoop.fs.azurebfs.services.AbfsClient.getFilesystemProperties(AbfsClient.java:193)
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.getFilesystemProperties(AzureBlobFileSystemStore.java:186)
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.fileSystemExists(AzureBlobFileSystem.java:675)
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.initialize(AzureBlobFileSystem.java:109)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3354)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:124)
        at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3403)
        at org.apache.hadoop.fs.FileSystem$Cache.getUnique(FileSystem.java:3377)
        at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:530)
        at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:542)
        at 
org.apache.hadoop.fs.azurebfs.AbstractAbfsIntegrationTest.createFileSystem(AbstractAbfsIntegrationTest.java:213)
        at 
org.apache.hadoop.fs.azurebfs.AbstractAbfsIntegrationTest.setup(AbstractAbfsIntegrationTest.java:133)
        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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
        at 
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

{code}

> ABFS checkException to map 403 to AccessDeniedException
> -------------------------------------------------------
>
>                 Key: HADOOP-15710
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15710
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: HADOOP-15407
>            Reporter: Steve Loughran
>            Priority: Major
>
> when you can't auth to ABFS, you get a 403 exception back. This should be 
> translated into an access denied exception for better clarity/handling



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

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

Reply via email to