[
https://issues.apache.org/jira/browse/HADOOP-14878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16170005#comment-16170005
]
Steve Loughran commented on HADOOP-14878:
-----------------------------------------
This is the format of a URI:
"wasb://[email protected]" . So (a) The field
{{MOCK_WASB_URI}} appars correct and by inference, the assertion expected !=
actual needs to be fixed by working out what is wrong with the mock filesystem,
rather than changing the assertion until the error goes away.
Anup, I'm not seeing this, neither are others. Which means there is probably
something odd with your setup, JVM, something odd causing the problem. Which
doesn't make it invalid, just means you are going to end up the person who has
to try and track down the problem.
Why not sign up for an MSDN account and a real azure credential, so you can see
if the real FS client works, rather than the mock? Otherwise, run the test in
an IDE and follow its flow: how is the mock FS getting mixed up regarding
deconstructing the URI?
> Azure module test fails : expected:<wasb://.... was:<wasb://mockAccount
> -----------------------------------------------------------------------
>
> Key: HADOOP-14878
> URL: https://issues.apache.org/jira/browse/HADOOP-14878
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 3.0.0-alpha4
> Environment: OS: Ubuntu 14.04.1
> Arch: PPC64LE
> Reporter: Anup Halarnkar
> Fix For: 3.0.0-alpha4
>
> Attachments: AzureBlobTest.patch
>
>
> There are many test failures for "fs.azure". The main error is listed below:
> *Error Message*
> expected:<wasb://[email protected]/inProgress>
> but was:<wasb://mockAccount.blob.core.windows.net/mockContainer/inProgress>
> *Stacktrace*
> java.lang.AssertionError:
> expected:<wasb://[email protected]/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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]