TestIPC occassionally fails with BindException
----------------------------------------------

                 Key: HADOOP-739
                 URL: http://issues.apache.org/jira/browse/HADOOP-739
             Project: Hadoop
          Issue Type: Bug
          Components: test
    Affects Versions: 0.8.0
            Reporter: Nigel Daley
         Assigned To: Nigel Daley
            Priority: Minor


org.apache.hadoop.ipc.TestIPC.testParallel occassionally fails with

java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind(Native Method)
        at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:161)
        at org.apache.hadoop.ipc.Server.start(Server.java:607)
        at org.apache.hadoop.ipc.TestIPC.testParallel(TestIPC.java:174)
        at org.apache.hadoop.ipc.TestIPC.testParallel(TestIPC.java:164)

My guess is that port 1234 used by TestIPC.testSerial hasn't been cleaned up by 
the time TestIPC.testParallel tries to use it.  The failure rate of this test 
seems around 5%.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to