[
https://issues.apache.org/jira/browse/HBASE-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160668#comment-14160668
]
Andrew Purtell commented on HBASE-12177:
----------------------------------------
bq. What is localhost resolution on the host?
{noformat}
apurtell@acer$ host -4 localhost
localhost has address 127.0.0.1
apurtell@acer$ host -6 localhost
;; connection timed out; no servers could be reached
{noformat}
/etc/hosts:
{noformat}
127.0.0.1 localhost acer
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
{noformat}
Ping:
{noformat}
apurtell@acer$ ping -c 1 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.025 ms
apurtell@acer$ ping6 -c 1 localhost
PING localhost(localhost) 56 data bytes
64 bytes from localhost: icmp_seq=1 ttl=64 time=0.026 ms
apurtell@acer$ ping6 -c 1 ::1
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.026 ms
{noformat}
> 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
> Assignee: Andrew Purtell
> Fix For: 0.98.7
>
> 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)