Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11890 Uber-JIRA: Hadoop should support IPv6
  3. HADOOP-12670

Fix TestNetUtils and TestSecurityUtil when localhost is ipv6 only

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HADOOP-11890
    • Fix Version/s: None
    • Component/s: net
    • Labels:
      None

      Description

        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>
      

        Attachments

        1. HADOOP-12670-HADOOP-11890.0.patch
          7 kB
          Elliott Clark
        2. HADOOP-12670-HADOOP-11890.2.patch
          10 kB
          Elliott Clark
        3. HADOOP-12670-HADOOP-11890.3.patch
          11 kB
          Elliott Clark

          Activity

            People

            • Assignee:
              eclark Elliott Clark
              Reporter:
              eclark Elliott Clark
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: