Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Mac OS 10.5.8 (Leopard)

    • Hadoop Flags:
      Reviewed
    • Tags:
      net

      Description

      TestNetUtils fails consistently after HADOOP-6722 on Mac OS X Leopard 10.5.8:

      ------------- Standard Error -----------------
      local address: /127.0.0.1
      local port: 64991
      ------------- ---------------- ---------------
      
      Testcase: testAvoidLoopbackTcpSockets took 0.421 sec
              Caused an ERROR
      Invalid argument
      java.net.SocketException: Invalid argument
              at sun.nio.ch.Net.connect(Native Method)
              at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
              at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:192)
              at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:369)
              at org.apache.hadoop.net.TestNetUtils.testAvoidLoopbackTcpSockets(TestNetUtils.java:46)
      

      Although TCP spec seems to allow it, at least one implementation disallows this corner case.

      1. hadoop-6747-trunk-v1.patch
        0.8 kB
        Luke Lu
      2. hadoop-6747.txt
        0.9 kB
        Todd Lipcon

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Todd Lipcon
            Reporter:
            Luke Lu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development