Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-19106

[ABFS] All tests of. ITestAzureBlobFileSystemAuthorization fails with NPE

    XMLWordPrintableJSON

Details

    Description

      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)

      Attachments

        Activity

          People

            anujmodi2021 Anuj Modi
            mthakur Mukund Thakur
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: