[
https://issues.apache.org/jira/browse/HADOOP-19106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825507#comment-17825507
]
Anuj Modi commented on HADOOP-19106:
------------------------------------
Thanks for reporting this [~mthakur]
However, I do not see these tests failing.
These tests require auth type to be set as "SharedKey" and works with only HNS
accounts therefore also need "fs.azure.test.namespace.enabled" to be set to
true.
With these two configs present, tests are working fine for me.
Please share the exact configuration you are using to better investigate the
issue.
> [ABFS] All tests of. ITestAzureBlobFileSystemAuthorization fails with NPE
> -------------------------------------------------------------------------
>
> Key: HADOOP-19106
> URL: https://issues.apache.org/jira/browse/HADOOP-19106
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/azure
> Affects Versions: 3.4.0
> Reporter: Mukund Thakur
> Assignee: Anuj Modi
> Priority: Major
>
> When below config set to true all of the tests fails else it skips.
> <property>
> <name>fs.azure.test.namespace.enabled</name>
> <value>true</value>
> </property>
>
> [*ERROR*]
> testOpenFileAuthorized(org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemAuthorization)
> Time elapsed: 0.064 s <<< ERROR!
> java.lang.NullPointerException
> at
> org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemAuthorization.runTest(ITestAzureBlobFileSystemAuthorization.java:273)
> at
> org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemAuthorization.testOpenFileAuthorized(ITestAzureBlobFileSystemAuthorization.java:132)
> 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:59)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
> 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)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]