hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Issue in HBASE setup
Date Thu, 16 Jan 2014 15:32:17 GMT
Which hbase / hadoop version are you using ?

'jniBasedUnixGroupsMapping.anchorNative' doesn't appear in the stack trace
you pasted. Can you give a bit more information ?

Thanks


On Wed, Jan 15, 2014 at 11:55 PM, jeevi tesh <jeevitesh.ms@gmail.com> wrote:

> Hi,
>
> Getting following error on issue of any command in hbase “error
> org.apache.hadoop.security.jniBasedUnixGroupsMapping.anchorNative”.
>
>
> The moment I issue command start-hbase.sh
>
> Getting following error in log file.
>
> Any suggestion will be of great help .
>
> Thanks
>
> 2014-01-16 12:34:42,462 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:200)
>
> at
>
> org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:150)
>
> at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:177)
>
> at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:134)
>
> 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:2779)
>
> 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:606)
>
> 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:455)
>
> at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.<init>(HMasterCommandLine.java:256)
>
> 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:137)
>
> ... 7 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:526)
>

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