[
https://issues.apache.org/jira/browse/HADOOP-17535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286484#comment-17286484
]
Steve Loughran commented on HADOOP-17535:
-----------------------------------------
{code}
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.029 s
- in org.apache.hadoop.fs.azurebfs.ITestAbfsNetworkStatistics
[ERROR]
testFsActionREAD(org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCheckAccess)
Time elapsed: 0.051 s <<< ERROR!
java.lang.IllegalArgumentException:
fs.azure.account.oauth2.client.endpoint.stevelukwest.dfs.core.windows.net
config is mandatory for the test to run
at
org.apache.hadoop.thirdparty.com.google.common.base.Preconditions.checkArgument(Preconditions.java:142)
at
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCheckAccess.checkIfConfigIsSet(ITestAzureBlobFileSystemCheckAccess.java:319)
at
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCheckAccess.setTestUserFs(ITestAzureBlobFileSystemCheckAccess.java:88)
at
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCheckAccess.checkPrerequisites(ITestAzureBlobFileSystemCheckAccess.java:306)
at
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemCheckAccess.testFsActionREAD(ITestAzureBlobFileSystemCheckAccess.java:233)
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}
> abfs ITestAzureBlobFileSystemCheckAccess test failure if test doesn't have
> oauth keys
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-17535
> URL: https://issues.apache.org/jira/browse/HADOOP-17535
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.3.1
> Reporter: Steve Loughran
> Priority: Major
>
> If the test isn't set up with oauth tokens, then
> ITestAzureBlobFileSystemCheckAccess raises illegal argument exception
> # Should this downgrade to skip?
> # if not: someone needs to document how to get get oauth tokens for azure
> storage as the instructions documenting my last previous successful event are
> out of date with the latest Azure UI.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]