hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Unable to start hbase 0.98.3 (standalone)
Date Tue, 01 Jul 2014 14:01:00 GMT
What's the value for hadoop.security.group.mapping ?

You can try using org.apache.hadoop.security.ShellBasedUnixGroupsMapping

Cheers


On Mon, Jun 30, 2014 at 11:19 PM, Ke MA <kemaru@gmail.com> wrote:

> Hi There,
>
> I installed a standalone HBase (0.98.3) following the instructions in
> http://hbase.apache.org/book/quickstart.html
>
> When starting the HBase, I ran into the following error:
>
> -------------------- Start --------------------
>
> 2014-06-30 16:15:53,016 ERROR [main] master.HMasterCommandLine: Master
> exiting
>
> java.lang.RuntimeException: Failed construction of Master: class
> org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMasternull
>
> at
>
> org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:140)
>
> at
>
> org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:202)
>
> at
>
> org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:152)
>
> at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:179)
>
> at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:135)
>
> 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.master.HMaster.main(HMaster.java:2803)
>
> 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:39)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> 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.master.HMaster.<init>(HMaster.java:464)
>
> at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.<init>(HMasterCommandLine.java:258)
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>
> at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>
> at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>
> at
>
> org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:137)
>
> ... 7 more
>
> Caused by: java.lang.reflect.InvocationTargetException
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>
> at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>
> at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>
> at
>
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:129)
>
> ... 32 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)
>
> ... 37 more
> -------------------- End --------------------
>
>
> Here is the basic info of my machine:
>
> [root@abc bin]# uname -a
>
> Linux abc 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64
> x86_64 GNU/Linux
>
> [root@abc bin]# which java
>
> /usr/java/bin/java
>
> [root@abc bin]# java -version
>
> java version "1.6.0_06"
>
> Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
>
> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
>
>
> Does anyone know what cause the error? Thank you very much in advance.
>
> Thanks,
> Ke
>

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