hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Failed to start HBase 0.98-hadoop2: Waiting for region servers count to settle
Date Wed, 26 Feb 2014 17:14:17 GMT
Can you check the version of hadoop-common jar in your classpath to see if
there is conflict ?


On Wed, Feb 26, 2014 at 9:06 AM, S. Zhou <myxjtu@yahoo.com> wrote:

> Thanks Ted. See below for the entire exception message from region server
> log file. BTW, I use hadoop 2.3.0 version
> 2014-02-25 15:42:42,620 ERROR [main]
> regionserver.HRegionServerCommandLine: Region server exiting
> java.lang.RuntimeException: Failed construction of Regionserver: class
> org.apache.hadoop.hbase.regionserver.HRegionServer
>         at
> org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2368)
>         at
> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:61)
>         at
> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:85)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
>         at
> org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2383)
> Caused by: java.lang.reflect.InvocationTargetException
>         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:525)
>         at
> org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2366)
>         ... 5 more
> Caused by: java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException
>         at
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:131)
>         at org.apache.hadoop.security.Groups.<init>(Groups.java:55)
>         at
> org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:182)
>         at
> org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:235)
>         at
> org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214)
>         at
> org.apache.hadoop.security.UserGroupInformation.isAuthenticationMethodEnabled(UserGroupInformation.java:275)
>         at
> org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:269)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.apache.hadoop.hbase.util.Methods.call(Methods.java:39)
>         at org.apache.hadoop.hbase.security.User.call(User.java:434)
>         at org.apache.hadoop.hbase.security.User.callStatic(User.java:424)
>         at org.apache.hadoop.hbase.security.User.access$200(User.java:49)
>         at
> org.apache.hadoop.hbase.security.User$SecureHadoopUser.isSecurityEnabled(User.java:412)
>         at
> org.apache.hadoop.hbase.security.User$SecureHadoopUser.login(User.java:383)
>         at org.apache.hadoop.hbase.security.User.login(User.java:207)
>         at
> org.apache.hadoop.hbase.security.UserProvider.login(UserProvider.java:113)
>         at
> org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:613)
>         ... 10 more
> Caused by: java.lang.reflect.InvocationTargetException
>         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:525)
>         at
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:129)
>         ... 29 more
> Caused by: java.lang.UnsatisfiedLinkError:
> org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative()V
>         at
> org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative(Native
> Method)
>         at
> org.apache.hadoop.security.JniBasedUnixGroupsMapping.<clinit>(JniBasedUnixGroupsMapping.java:49)
>         at
> org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback.<init>(JniBasedUnixGroupsMappingWithFallback.java:38)
>         ... 34 more
>
>
>
>
>
> On Tuesday, February 25, 2014 4:33 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>
> Can you show us the remaining stack trace following
> InvocationTargetException
> ?
>
> Cheers
>
>
>
> On Tue, Feb 25, 2014 at 4:30 PM, S. Zhou <myxjtu@yahoo.com> wrote:
>
> > I just downloaded the HBase 0.98-hadoop2. After I run "start-hbase.sh",
> > the Hbase does not actually start. I tried to search online but failed to
> > find a solution. Please help.
> >
> >
> > The message in master log is:
> > 2014-02-25 15:24:04,533 INFO  [master:localhost:60000]
> > master.ServerManager: Waiting for region servers count to settle;
> currently
> > checked in 0, slept for 545081 ms, expecting minimum of 1, maximum of
> > 2147483647, timeout of 4500 ms, inte:
> >
> > The message in region server log is:
> > 2014-02-25 15:14:58,020 ERROR [main]
> > regionserver.HRegionServerCommandLine: Region server exiting
> > java.lang.RuntimeException: Failed construction of Regionserver: class
> > org.apache.hadoop.hbase.regionserver.HRegionServer
> >         at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2368)
> >         at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:61)
> >         at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:85)
> >         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> >         at
> >
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
> >         at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2383)
> > Caused by: java.lang.reflect.InvocationTargetException
> >         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:525)
> >         at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2366)
> >
> >
> > HBase shell status result
> > hbase(main):001:0> status
> > 0 servers, 0 dead, NaN average load
> >
> > jps result
> > XXX:~$ jps
> > 2761 org.eclipse.equinox.launcher_1.2.0.v20110502.jar
> > 11956 NodeManager
> > 13407 HQuorumPeer
> > 11369 DataNode
> > 2536 OracleIdeLauncher
> > 11784 ResourceManager
> > 13569 HMaster
> > 14221 Jps
> > 11600 SecondaryNameNode
> > 11207 NameNode
> >
>

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