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 "Elliott Clark (JIRA)" <ji...@apache.org> on 2015/12/23 01:28:47 UTC

[jira] [Updated] (HADOOP-12670) Fix TestNetUtils and TestSecurityUtil when localhost is ipv6 only

     [ https://issues.apache.org/jira/browse/HADOOP-12670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliott Clark updated HADOOP-12670:
-----------------------------------
    Attachment: HADOOP-12670-HADOOP-11890.0.patch

Make sure to use the new NetUtils functions.

> Fix TestNetUtils and TestSecurityUtil when localhost is ipv6 only
> -----------------------------------------------------------------
>
>                 Key: HADOOP-12670
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12670
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: net
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>         Attachments: HADOOP-12670-HADOOP-11890.0.patch
>
>
> {code}
>   TestSecurityUtil.testBuildTokenServiceSockAddr:165 expected:<[127.0.0.]1:123> but was:<[0:0:0:0:0:0:0:]1:123>
>   TestSecurityUtil.testBuildDTServiceName:148 expected:<[127.0.0.]1:123> but was:<[0:0:0:0:0:0:0:]1:123>
>   TestSecurityUtil.testSocketAddrWithName:326->verifyServiceAddr:304->verifyAddress:284->verifyValues:251 expected:<[127.0.0.]1> but was:<[0:0:0:0:0:0:0:]1>
>   TestSecurityUtil.testSocketAddrWithIP:333->verifyServiceAddr:304->verifyAddress:284->verifyValues:251 expected:<[127.0.0.]1> but was:<[0:0:0:0:0:0:0:]1>
>   TestSecurityUtil.testSocketAddrWithNameToStaticName:340->verifyServiceAddr:304->verifyAddress:284->verifyValues:251 expected:<[127.0.0.]1> but was:<[0:0:0:0:0:0:0:]1>
>   TestNetUtils.testNormalizeHostName:639 expected:<[0:0:0:0:0:0:0:]1> but was:<[127.0.0.]1>
>   TestNetUtils.testResolverLoopback:533->verifyInetAddress:496 expected:<[127.0.0.]1> but was:<[0:0:0:0:0:0:0:]1>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)