You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/10/06 22:35:34 UTC

[jira] [Resolved] (HBASE-12177) TestIPv6NIOServerSocketChannel hangs consistently on Java 8

     [ https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell resolved HBASE-12177.
------------------------------------
       Resolution: Invalid
    Fix Version/s:     (was: 0.98.7)
         Assignee:     (was: Andrew Purtell)

I have an Ubuntu 14 dev/test box that causes Oracle JDK 8u11 and 8u20 to play russian roulette with hostname lookups. Oracle JDK 7u67 works fine. If I compile 8u myself (currently 8u40) I see the same problem. Not observed on Amazon Linux or MacOSX with any of these versions. Resolving as invalid as it's likely an Ubuntu problem.

Reverted the 0.98 commit.


> TestIPv6NIOServerSocketChannel hangs consistently on Java 8
> -----------------------------------------------------------
>
>                 Key: HBASE-12177
>                 URL: https://issues.apache.org/jira/browse/HBASE-12177
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>         Attachments: HBASE-12177-0.98.patch, jstack.txt
>
>
> TestIPv6NIOServerSocketChannel hangs consistently on Java 8u20. jstack dump attached. This is on a 64-bit Ubuntu 14.04 system kernel "Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014"
> {noformat}
> "pool-1-thread-1" #9 prio=5 os_prio=0 tid=0x00007ff330707000 nid=0x41a8 runnable [0x00007ff309e8f000]
>    java.lang.Thread.State: RUNNABLE
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382)
> 	- locked <0x00000000e1c004e0> (a java.net.SocksSocketImpl)
> 	at java.net.ServerSocket.bind(ServerSocket.java:375)
> 	at java.net.ServerSocket.bind(ServerSocket.java:329)
> 	at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.bindServerSocket(TestIPv6NIOServerSocketChannel.java:60)
> 	at org.apache.hadoop.hbase.TestIPv6NIOServerSocketChannel.testServerSocketFromLocalhostResolution(TestIPv6NIOServerSocketChannel.java:149){noformat}
> I am going to disable this test in 0.98 branch for now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)