Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DEA91108B5 for ; Thu, 16 Jan 2014 17:41:56 +0000 (UTC) Received: (qmail 66442 invoked by uid 500); 16 Jan 2014 17:41:44 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 65577 invoked by uid 500); 16 Jan 2014 17:41:42 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 65483 invoked by uid 99); 16 Jan 2014 17:41:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 17:41:41 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-la0-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 17:41:37 +0000 Received: by mail-la0-f45.google.com with SMTP id b8so2818345lan.32 for ; Thu, 16 Jan 2014 09:41:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Zfb2mYt3WpbahdMw68jkroowLErN/ZMIweOthKPMV8s=; b=XYUwTfCr3NAhTJKZqUNm09TrzLc1PJiTb3vPAo23OVWTwNwfzKC9NCYgvC8P12FC/i /G0roihOZPRp6IbRXcLiFxWJx44yslArgRAiRl0LYpp7o32YGhOqk0tvujWvDxKMSRP+ gLy+il8ejq23Q4rgnQSnFE7WNNKYh8Xashm6675B05DjblZ5bkS/J6+/M+dga74x9wXa jNqwXqIoPNDmw5zp/7AQRC6hjS8mAIlDSGeX9epQlE2H/5V6TVypqMy67UYjcyCthSH2 5m5LFAdUbyf4bA9FpZ1akXIT/oMJMrlV/a6My1iG3sMFc9WeevAFGbAJoeft2b8yRMsz aeIw== MIME-Version: 1.0 X-Received: by 10.112.171.41 with SMTP id ar9mr877125lbc.74.1389894075306; Thu, 16 Jan 2014 09:41:15 -0800 (PST) Received: by 10.112.156.163 with HTTP; Thu, 16 Jan 2014 09:41:15 -0800 (PST) Date: Thu, 16 Jan 2014 09:41:15 -0800 Message-ID: Subject: lib and libexec folders in hadoop 2.2 WAS: Issue in HBASE setup From: Ted Yu To: "dev@hbase.apache.org" , "common-user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=001a11c269aaa2588704f019ee3d X-Virus-Checked: Checked by ClamAV on apache.org --001a11c269aaa2588704f019ee3d Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable The latest question would be better answered in the hadoop user mailing list. Cheers On Thu, Jan 16, 2014 at 9:36 AM, jeevi tesh wrote: > but the issue with 2.2 is it does not have libexec , lib folders... > so i installed 0.23.9. Can you please through some light why this importa= nt > folders are missing in 2.2 and also in release version. > Can i use lib and libexec folders of 0.23 with2.2 > > > On Thu, Jan 16, 2014 at 10:52 PM, Ted Yu wrote: > > > From 0.96 pom.xml: > > > > 2.2.0 > > > > Meaning, 0.96.1.1-hadoop2 was built using hadoop 2.2.0 > > > > See http://hbase.apache.org/book.html#d2907e520 > > > > Can you deploy hadoop 2.2 ? > > > > > > On Thu, Jan 16, 2014 at 9:16 AM, jeevi tesh > > wrote: > > > > > hi ted, > > > Thank you very much for taking initiative to help. > > > Hadoop version is hadoop -0.23.9 > > > and hbase version is : hbase-0.96.1.1-hadoop2 > > > OS: Ubuntu > > > It was copy paste issue > > > So please find the update log file you can find error at the end of t= he > > log > > > > > > org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMasternull > > > at > > > > > > > > > org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMCluster= Util.java:140) > > > at > > > > > > > > > org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.jav= a:200) > > > at > > > > > > > > > org.apache.hadoop.hbase.LocalHBaseCluster.(LocalHBaseCluster.java:1= 50) > > > at > > > > > > > > > org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterComm= andLine.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.j= ava: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:1= 31) > > > at org.apache.hadoop.security.Groups.(Groups.java:55) > > > at > > > > > > > > > org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.ja= va:182) > > > at > > > > > > > > > org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInfor= mation.java:235) > > > at > > > > > > > > > org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGro= upInformation.java:214) > > > at > > > > > > > > > org.apache.hadoop.security.UserGroupInformation.isAuthenticationMethodEna= bled(UserGroupInformation.java:275) > > > at > > > > > > > > > org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGro= upInformation.java:269) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :57) > > > at > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.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:38= 3) > > > 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.(HMaster.java:455) > > > at > > > > > > > > > org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.(HMa= sterCommandLine.java:256) > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > > > at > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc= cessorImpl.java:57) > > > at > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst= ructorAccessorImpl.java:45) > > > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > > > at > > > > > > > > > org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMCluster= Util.java:137) > > > ... 7 more > > > Caused by: java.lang.reflect.InvocationTargetException > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > > > at > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc= cessorImpl.java:57) > > > at > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst= ructorAccessorImpl.java:45) > > > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > > > at > > > > > > > > > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:1= 29) > > > ... 32 more > > > Caused by: java.lang.UnsatisfiedLinkError: > > > org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative()V > > > at > > org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative(Nativ= e > > > Method) > > > at > > > > > > > > > org.apache.hadoop.security.JniBasedUnixGroupsMapping.(JniBasedUni= xGroupsMapping.java:49) > > > at > > > > > > > > > org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback.(J= niBasedUnixGroupsMappingWithFallback.java:38) > > > ... 37 more > > > > > > > > > On Thu, Jan 16, 2014 at 9:02 PM, Ted Yu wrote: > > > > > > > Which hbase / hadoop version are you using ? > > > > > > > > 'jniBasedUnixGroupsMapping.anchorNative' doesn't appear in the stac= k > > > trace > > > > you pasted. Can you give a bit more information ? > > > > > > > > Thanks > > > > > > > > > > > > On Wed, Jan 15, 2014 at 11:55 PM, jeevi tesh > > > > > wrote: > > > > > > > > > Hi, > > > > > > > > > > Getting following error on issue of any command in hbase =93error > > > > > org.apache.hadoop.security.jniBasedUnixGroupsMapping.anchorNative= =94. > > > > > > > > > > > > > > > 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$LocalHMasternul= l > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMCluster= Util.java:140) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.jav= a:200) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.hbase.LocalHBaseCluster.(LocalHBaseCluster.java:1= 50) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterComm= andLine.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.j= ava: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:1= 31) > > > > > > > > > > at org.apache.hadoop.security.Groups.(Groups.java:55) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.ja= va:182) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInfor= mation.java:235) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGro= upInformation.java:214) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.security.UserGroupInformation.isAuthenticationMethodEna= bled(UserGroupInformation.java:275) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGro= upInformation.java:269) > > > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :57) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.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:38= 3) > > > > > > > > > > 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.(HMaster.java:455= ) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.(HMa= sterCommandLine.java:256) > > > > > > > > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > Method) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc= cessorImpl.java:57) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst= ructorAccessorImpl.java:45) > > > > > > > > > > at java.lang.reflect.Constructor.newInstance(Constructor.java:526= ) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMCluster= Util.java:137) > > > > > > > > > > ... 7 more > > > > > > > > > > Caused by: java.lang.reflect.InvocationTargetException > > > > > > > > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > Method) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc= cessorImpl.java:57) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst= ructorAccessorImpl.java:45) > > > > > > > > > > at java.lang.reflect.Constructor.newInstance(Constructor.java:526= ) > > > > > > > > > > > > > > > --001a11c269aaa2588704f019ee3d Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
The latest question would be better answered in the hadoop= user mailing list.

Cheers


On Thu, Jan 16, 2014 at 9:36 AM, jeev= i tesh <jeevitesh.ms@gmail.com> wrote:
but the issue with 2.2 is it does not have l= ibexec , lib folders...
so i installed 0.23.9. Can you please through some light why this important=
folders are missing in 2.2 and also in release version.
Can i use lib and libexec folders of 0.23 with2.2


On Thu, Jan 16, 2014 at 10:52 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> From 0.96 pom.xml:
>
> =A0 =A0 <hadoop-two.version>2.2.0</hadoop-two.version>
>
> Meaning, 0.96.1.1-hadoop2 was built using hadoop 2.2.0
>
> See http://hbase.apache.org/book.html#d2907e520
>
> Can you deploy hadoop 2.2 ?
>
>
> On Thu, Jan 16, 2014 at 9:16 AM, jeevi tesh <jeevitesh.ms@gmail.com>
> wrote:
>
> > hi ted,
> > Thank you very much for taking initiative to help.
> > Hadoop version is hadoop -0.23.9
> > and hbase version is : hbase-0.96.1.1-hadoop2
> > OS: Ubuntu
> > It was copy paste issue
> > So please find the update log file you can find error at the end = of the
> log
> >
> > org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMasternul= l
> > at
> >
> >
> org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClus= terUtil.java:140)
> > at
> >
> >
> org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.= java:200)
> > at
> >
> >
> org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseClust= er.java:150)
> > at
> >
> >
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterC= ommandLine.java:177)
> > at
> >
> >
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLi= ne.java:134)
> > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> > at
> >
> >
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLin= e.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.jav= a: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(UserGroupIn= formation.java:235)
> > at
> >
> >
> org.apache.hadoop.security.UserGroupInformation.ensureInitialized(User= GroupInformation.java:214)
> > at
> >
> >
> org.apache.hadoop.security.UserGroupInformation.isAuthenticationMethod= Enabled(UserGroupInformation.java:275)
> > at
> >
> >
> org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(User= GroupInformation.java:269)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j= ava:57)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess= orImpl.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.isSecurityEnabl= ed(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.ja= va:455)
> > at
> >
> >
> org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.<ini= t>(HMasterCommandLine.java:256)
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native = Method)
> > at
> >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo= rAccessorImpl.java:57)
> > at
> >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo= nstructorAccessorImpl.java:45)
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:526= )
> > at
> >
> >
> org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClus= terUtil.java:137)
> > ... 7 more
> > Caused by: java.lang.reflect.InvocationTargetException
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native = Method)
> > at
> >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo= rAccessorImpl.java:57)
> > at
> >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo= nstructorAccessorImpl.java:45)
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:526= )
> > at
> >
> >
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.jav= a:129)
> > ... 32 more
> > Caused by: java.lang.UnsatisfiedLinkError:
> > org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative= ()V
> > at
> org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative(Nati= ve
> > Method)
> > at
> >
> >
> org.apache.hadoop.security.JniBasedUnixGroupsMapping.<clinit>(Jn= iBasedUnixGroupsMapping.java:49)
> > at
> >
> >
> org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback.<i= nit>(JniBasedUnixGroupsMappingWithFallback.java:38)
> > ... 37 more
> >
> >
> > On Thu, Jan 16, 2014 at 9:02 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> >
> > > 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 hbas= e =93error
> > > > org.apache.hadoop.security.jniBasedUnixGroupsMapping.an= chorNative=94.
> > > >
> > > >
> > > > 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.HMasterComm= andLine:
> Master
> > > > exiting
> > > >
> > > > java.lang.RuntimeException: Failed construction of Mast= er: class
> > > > org.apache.hadoop.hbase.master.HMasterCommandLine$Local= HMasternull
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClus= terUtil.java:140)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.= java:200)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseClust= er.java:150)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterC= ommandLine.java:177)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLi= ne.java:134)
> > > >
> > > > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.jav= a:70)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLin= e.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.jav= a:131)
> > > >
> > > > at org.apache.hadoop.security.Groups.<init>(Group= s.java:55)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups= .java:182)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupIn= formation.java:235)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.security.UserGroupInformation.ensureInitialized(User= GroupInformation.java:214)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.security.UserGroupInformation.isAuthenticationMethod= Enabled(UserGroupInformation.java:275)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(User= GroupInformation.java:269)
> > > >
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native = Method)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j= ava:57)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess= orImpl.java:43)
> > > >
> > > > at java.lang.reflect.Method.invoke(Method.java:606)
> > > >
> > > > at org.apache.hadoop.hbase.util.Methods.call(Methods.ja= va:39)
> > > >
> > > > at org.apache.hadoop.hbase.security.User.call(User.java= :434)
> > > >
> > > > at org.apache.hadoop.hbase.security.User.callStatic(Use= r.java:424)
> > > >
> > > > at org.apache.hadoop.hbase.security.User.access$200(Use= r.java:49)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.hbase.security.User$SecureHadoopUser.isSecurityEnabl= ed(User.java:412)
> > > >
> > > > at
> > > >
> > >
> >
> org.apache.hadoop.hbase.security.User$SecureHadoopUser.login(User.java= :383)
> > > >
> > > > at org.apache.hadoop.hbase.security.User.login(User.jav= a: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.<ini= t>(HMasterCommandLine.java:256)
> > > >
> > > > at sun.reflect.NativeConstructorAccessorImpl.newInstanc= e0(Native
> > Method)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo= rAccessorImpl.java:57)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo= nstructorAccessorImpl.java:45)
> > > >
> > > > at java.lang.reflect.Constructor.newInstance(Constructo= r.java:526)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClus= terUtil.java:137)
> > > >
> > > > ... 7 more
> > > >
> > > > Caused by: java.lang.reflect.InvocationTargetException<= br> > > > >
> > > > at sun.reflect.NativeConstructorAccessorImpl.newInstanc= e0(Native
> > Method)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo= rAccessorImpl.java:57)
> > > >
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo= nstructorAccessorImpl.java:45)
> > > >
> > > > at java.lang.reflect.Constructor.newInstance(Constructo= r.java:526)
> > > >
> > >
> >
>

--001a11c269aaa2588704f019ee3d--