hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomas tim <hancong1...@gmail.com>
Subject Re: org.apache.hadoop.net.DNS exception on ipv6
Date Fri, 20 Mar 2020 11:20:55 GMT
thanks for helping.

Stack <stack@duboce.net> 于2020年3月16日周一 下午11:55写道:

> On Fri, Mar 13, 2020 at 7:41 PM tomas tim <hancong1015@gmail.com> wrote:
>
> > hi,all
> > I start hbase in a vmware environment using following  config and fail.
> > the reason is org.apache.hadoop.net.DNS can not adapt IPv6 address, is
> this
> > a bug? what can I do except turn off ipv6 config?
> >
> > config:
> > <property>
> >           <name>hbase.master.dns.interface</name>
> >           <value>ens33</value>
> > </property>
> >
> > Hadoop doesn't support ipv6. HBase doesn't either.
> Thanks,
> S
>
>
>
>
> > exception:
> > java.lang.RuntimeException: Failed construction of Master: class
> > org.apache.hadoop.hbase.master.HMaster.
> > at
> > org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2996)
> > at
> >
> >
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:236)
> > at
> >
> >
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:140)
> > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
> > at
> >
> >
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
> > at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:3007)
> > Caused by: java.lang.RuntimeException: Failed to invoke
> DNS.getDefaultHost
> > via reflection
> > at org.apache.hadoop.hbase.util.DNS.getDefaultHost(DNS.java:67)
> > at
> >
> >
> org.apache.hadoop.hbase.regionserver.RSRpcServices.getHostname(RSRpcServices.java:1329)
> > at
> >
> >
> org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:1228)
> > at
> >
> >
> org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:1206)
> > at
> >
> >
> org.apache.hadoop.hbase.master.MasterRpcServices.<init>(MasterRpcServices.java:384)
> > at
> >
> org.apache.hadoop.hbase.master.HMaster.createRpcServices(HMaster.java:740)
> > at
> >
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:593)
> > at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:513)
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > at
> >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> > at
> >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> > at
> > org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2989)
> > ... 5 more
> > Caused by: java.lang.reflect.InvocationTargetException
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:498)
> > at org.apache.hadoop.hbase.util.DNS.getDefaultHost(DNS.java:64)
> > ... 17 more
> > Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
> > at org.apache.hadoop.net.DNS.reverseDns(DNS.java:82)
> > at org.apache.hadoop.net.DNS.getHosts(DNS.java:253)
> > at org.apache.hadoop.net.DNS.getDefaultHost(DNS.java:366)
> > ... 22 more
> >
> >
> > Thanks,
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message