hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Sigoure (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11990) DNS#reverseDns fails with a NumberFormatException when using an IPv6 DNS server
Date Mon, 18 May 2015 03:30:59 GMT
Benoit Sigoure created HADOOP-11990:
---------------------------------------

             Summary: DNS#reverseDns fails with a NumberFormatException when using an IPv6
DNS server
                 Key: HADOOP-11990
                 URL: https://issues.apache.org/jira/browse/HADOOP-11990
             Project: Hadoop Common
          Issue Type: Bug
          Components: net
    Affects Versions: 2.5.1
         Environment: java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

            Reporter: Benoit Sigoure


With this resolv.conf:

{code}
nameserver 192.168.1.1
nameserver 2604:5500:3::3
nameserver 2604:5500:3:3::3
{code}

Starting HBase yields the following:

{code}
Caused by: java.lang.NumberFormatException: For input string: "5500:3::3"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:492)
        at java.lang.Integer.parseInt(Integer.java:527)
        at com.sun.jndi.dns.DnsClient.<init>(DnsClient.java:122)
        at com.sun.jndi.dns.Resolver.<init>(Resolver.java:61)
        at com.sun.jndi.dns.DnsContext.getResolver(DnsContext.java:570)
        at com.sun.jndi.dns.DnsContext.c_getAttributes(DnsContext.java:430)
        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:231)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:139)
        at com.sun.jndi.toolkit.url.GenericURLDirContext.getAttributes(GenericURLDirContext.java:103)
        at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:142)
        at org.apache.hadoop.net.DNS.reverseDns(DNS.java:84)
        at org.apache.hadoop.net.DNS.getHosts(DNS.java:241)
        at org.apache.hadoop.net.DNS.getDefaultHost(DNS.java:344)
        at org.apache.hadoop.net.DNS.getDefaultHost(DNS.java:362)
        at org.apache.hadoop.net.DNS.getDefaultHost(DNS.java:341)
        at org.apache.hadoop.hbase.regionserver.RSRpcServices.getHostname(RSRpcServices.java:825)
        at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:782)
        at org.apache.hadoop.hbase.master.MasterRpcServices.<init>(MasterRpcServices.java:195)
        at org.apache.hadoop.hbase.master.HMaster.createRpcServices(HMaster.java:477)
        at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:492)
        at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:333)
        at org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.<init>(HMasterCommandLine.java:276)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:139)
        ... 7 more
{code}



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

Mime
View raw message