Details
Description
With this resolv.conf:
nameserver 192.168.1.1 nameserver 2604:5500:3::3 nameserver 2604:5500:3:3::3
Starting HBase yields the following:
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