You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Anoop Sam John (Jira)" <ji...@apache.org> on 2021/04/19 12:04:00 UTC
[jira] [Commented] (HADOOP-17641)
ITestWasbUriAndConfiguration.testCanonicalServiceName() failing now
mockaccount exists
[ https://issues.apache.org/jira/browse/HADOOP-17641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17324976#comment-17324976 ]
Anoop Sam John commented on HADOOP-17641:
-----------------------------------------
Should we remove this part in test?
{code}
intercept(IllegalArgumentException.class,
"java.net.UnknownHostException",
() -> fs0.getCanonicalServiceName());
{code}
Any mock named account we can not guarantee not to be present always. Or else it has to be a wrong account name completely like wrong domain suffix or so. Am not having full idea on all parts of WASB tests. So not able to take a call here.
> ITestWasbUriAndConfiguration.testCanonicalServiceName() failing now mockaccount exists
> --------------------------------------------------------------------------------------
>
> Key: HADOOP-17641
> URL: https://issues.apache.org/jira/browse/HADOOP-17641
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/azure, test
> Affects Versions: 3.3.0, 3.2.1
> Reporter: Steve Loughran
> Priority: Minor
>
> The test ITestWasbUriAndConfiguration.testCanonicalServiceName() is failing in its intercept
> [ERROR] ITestWasbUriAndConfiguration.testCanonicalServiceName:656 Expected a java.lang.IllegalArgumentException to be thrown, but got the result: : "20.38.122.132:0"
> Root cause is: the mock account in AzureBlobStorageTestAccount.MOCK_ACCOUNT_NAME is "mockAccount.blob.core.windows.net" and *someone has created that account*
> This means it resolves
> nslookup mockAccount.blob.core.windows.net
> Server: 172.18.64.15
> Address: 172.18.64.15#53
> Non-authoritative answer:
> mockAccount.blob.core.windows.net canonical name = blob.dsm08prdstr02a.store.core.windows.net.
> Name: blob.dsm08prdstr02a.store.core.windows.net
> Address: 20.38.122.132
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org