You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Nigel Daley (JIRA)" <ji...@apache.org> on 2006/11/21 21:34:03 UTC

[jira] Created: (HADOOP-739) TestIPC occassionally fails with BindException

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

        

[jira] Updated: (HADOOP-739) TestIPC occassionally fails with BindException

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-739?page=all ]

Nigel Daley updated HADOOP-739:
-------------------------------

    Attachment: HADOOP-739.patch

This patch drops the failure rate of this test to zero based on 200 runs.

> 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
>         Attachments: HADOOP-739.patch
>
>
> 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

        

[jira] Updated: (HADOOP-739) TestIPC occassionally fails with BindException

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-739?page=all ]

Doug Cutting updated HADOOP-739:
--------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 0.9.0
       Resolution: Fixed

I just committed this.  Thanks, Nigel!

> 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
>             Fix For: 0.9.0
>
>         Attachments: HADOOP-739.patch
>
>
> 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

        

[jira] Updated: (HADOOP-739) TestIPC occassionally fails with BindException

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-739?page=all ]

Nigel Daley updated HADOOP-739:
-------------------------------

    Status: Patch Available  (was: Open)

> 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
>         Attachments: HADOOP-739.patch
>
>
> 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