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

Azure module test fails : expected:<wasb://.... was:<wasb://mockAccount

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-alpha4
    • Fix Version/s: 3.0.0-alpha4
    • Component/s: fs/azure, test
    • Labels:
      None
    • Environment:

      OS: Ubuntu 14.04.1
      Arch: PPC64LE

    • Flags:
      Patch

      Description

      There are many test failures for "fs.azure". The main error is listed below:
      Error Message
      expected:<wasb://mockContainer@mockAccount.blob.core.windows.net/inProgress> but was:<wasb://mockAccount.blob.core.windows.net/mockContainer/inProgress>

      Stacktrace
      java.lang.AssertionError: expected:<wasb://mockContainer@mockAccount.blob.core.windows.net/inProgress> but was:<wasb://mockAccount.blob.core.windows.net/mockContainer/inProgress>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:743)
      at org.junit.Assert.assertEquals(Assert.java:118)
      at org.junit.Assert.assertEquals(Assert.java:144)
      at org.apache.hadoop.fs.azure.TestNativeAzureFileSystemConcurrency.testNoTempBlobsVisible(TestNativeAzureFileSystemConcurrency.java:107)

      I have created a patch that resolves this issue. But I'm not sure if this is the correct way. I will attach here for your reference

        Attachments

        1. AzureBlobTest.patch
          1 kB
          Anup Halarnkar

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anuphal Anup Halarnkar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: