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

Steve Loughran commented on HADOOP-16706:
-----------------------------------------


{code}
org.apache.hadoop.fs.azurebfs.ITestClientUrlScheme
[ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.798 s 
<<< FAILURE! - in org.apache.hadoop.fs.azurebfs.ITestClientUrlScheme
[ERROR] 
testClientUrlScheme[0](org.apache.hadoop.fs.azurebfs.ITestClientUrlScheme)  
Time elapsed: 0.798 s  <<< ERROR!
Operation failed: "The account being accessed does not support http.", 400, 
PUT, 
http://stevelukwest.dfs.core.windows.net/abfs-testcontainer-f20e8eb9-7daa-4ea9-8d05-2582ae231ef0?resource=filesystem,
 AccountRequiresHttps, "The account being accessed does not support http. 
RequestId:f2fb0165-201f-002e-4243-9adace000000 
Time:2019-11-13T16:54:25.1728699Z"
        at 
org.apache.hadoop.fs.azurebfs.services.AbfsRestOperation.execute(AbfsRestOperation.java:135)
        at 
org.apache.hadoop.fs.azurebfs.services.AbfsClient.createFilesystem(AbfsClient.java:143)
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.createFilesystem(AzureBlobFileSystemStore.java:335)
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.createFileSystem(AzureBlobFileSystem.java:900)
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.initialize(AzureBlobFileSystem.java:117)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3399)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:138)
        at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3459)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3427)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:504)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:252)
        at 
org.apache.hadoop.fs.azurebfs.AbstractAbfsIntegrationTest.getFileSystem(AbstractAbfsIntegrationTest.java:197)
        at 
org.apache.hadoop.fs.azurebfs.ITestClientUrlScheme.testClientUrlScheme(ITestClientUrlScheme.java:85)
        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:50)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        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$CallableStatement.call(FailOnTimeout.java:298)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.lang.Thread.run(Thread.java:748)
{code}

> ITestClientUrlScheme fails for accounts which don't support HTTP
> ----------------------------------------------------------------
>
>                 Key: HADOOP-16706
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16706
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure, test
>    Affects Versions: 3.3.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> I'm setting up a new Storage account to Play with encryption options. I'm 
> getting a test failure in 
> {{testClientUrlScheme[0](org.apache.hadoop.fs.azurebfs.ITestClientUrlScheme)}}
>  as it doesn't support HTTP.
> Proposed: catch, recognise 'AccountRequiresHttps' and downgrade those 
> particular parameterised tests to skipped tests.



--
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