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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HADOOP-11890
    • HADOOP-17800
    • net
    • None
    • Reviewed

    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 Neil Clark
        2. HADOOP-12670-HADOOP-11890.2.patch
          10 kB
          Elliott Neil Clark
        3. HADOOP-12670-HADOOP-11890.3.patch
          11 kB
          Elliott Neil Clark
        4. HADOOP-12670-HADOOP-17800.001.patch
          10 kB
          Hemanth Boyina
        5. HADOOP-12670-HADOOP-17800.002.patch
          10 kB
          Hemanth Boyina

        Activity

          People

            eclark Elliott Neil Clark
            eclark Elliott Neil Clark
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: