You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Luke Lu (JIRA)" <ji...@apache.org> on 2010/05/04 02:37:55 UTC
[jira] Updated: (HADOOP-6747) TestNetUtils fails on Mac OS X
[ https://issues.apache.org/jira/browse/HADOOP-6747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Lu updated HADOOP-6747:
----------------------------
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.
was:
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.
> TestNetUtils fails on Mac OS X
> ------------------------------
>
> Key: HADOOP-6747
> URL: https://issues.apache.org/jira/browse/HADOOP-6747
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.22.0
> Environment: Mac OS 10.5.8 (Leopard)
> Reporter: Luke Lu
> Fix For: 0.22.0
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.