Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5C8B411961 for ; Wed, 20 Aug 2014 15:41:42 +0000 (UTC) Received: (qmail 18805 invoked by uid 500); 20 Aug 2014 15:41:41 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 18725 invoked by uid 500); 20 Aug 2014 15:41:41 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Delivered-To: moderator for dev@hbase.apache.org Received: (qmail 67387 invoked by uid 99); 20 Aug 2014 10:29:45 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sanjiv.is.on@gmail.com designates 209.85.212.170 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=Yx/+tktqX9XVxzDz7QPryu21r4QV+lj/K+8RIHItDTA=; b=zcZ013Hlwz5Xk8b75HxqZHy54PA3Uqgddd3LWRGWQ/a3PhNmvU2rpc+nrX9tNTSEty SaVaMOmzu5HJYy7ijLEZXk2SBlTqJOl3Kd8fCy4K6gZEnVJPlcvH2vQhC+rRcyDmEggL z21fWL81gn4Id4o2c/AT5pI2Z3DcjZJ2Lg/i0rJoE2mAFO5sWbywI2sKMXldoekFfocE Qn4w6DuHBGWypH0rcae+DHDRxRYkLnRmA+LjXGorUsWwYNRKyWcitGVzWYBhsgP9qT7r Qr6FcYeL3qnwQTIRlN0tfAtNR/hnqZaGdIiSIdlwVWQnxBRQlTBqpsAfsHhHjyJGeEGH eFpA== X-Received: by 10.180.212.50 with SMTP id nh18mr13474566wic.51.1408530559287; Wed, 20 Aug 2014 03:29:19 -0700 (PDT) MIME-Version: 1.0 Reply-To: sanjiv.is.on@gmail.com In-Reply-To: References: From: "@Sanjiv Singh" Date: Wed, 20 Aug 2014 15:58:59 +0530 Message-ID: Subject: Re: Error in starting hbase !!! To: Esteban Gutierrez , "dev@hbase.apache.org" , Ted Yu Content-Type: multipart/alternative; boundary=001a11c34e2ea44a8e05010d13e1 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c34e2ea44a8e05010d13e1 Content-Type: text/plain; charset=UTF-8 Problem still persisted ..not able to resolve. Any help is highly appreciated !!! Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Aug 15, 2014 at 10:48 AM, @Sanjiv Singh wrote: > Yes i have download hbase source-code and packaged myself. > > I didn't get by "did you also compile Hadoop 1.2 specifying to compile > the natives for your OS?" how to do so. yes i checked under directory > /usr/local/hadoop/hadoop-1.2.1/lib/native/Linux-amd64-64/ . native > libraries are there. > > > >> ls /usr/local/hadoop/hadoop-1.2.1/lib/native/Linux-amd64-64/ > > libhadoop.a libhadoop.la libhadoop.so libhadoop.so.1 > libhadoop.so.1.0.0 > > Regards > Sanjiv Singh > Mob : +091 9990-447-339 > > > On Thu, Aug 14, 2014 at 10:55 PM, Esteban Gutierrez > wrote: > >> >> >> Sanjiv, >> >> Seems that you have recompiled HBase by yourself, did you also compile >> Hadoop 1.2 specifying to compile the natives for your OS? are those shared >> libraries natives correctly deployed under >> /usr/local/hadoop/hadoop-1.2.1/lib/native/Linux-amd64-64 ? >> >> cheers, >> esteban. >> >> >> >> >> -- >> Cloudera, Inc. >> >> >> >> On Thu, Aug 14, 2014 at 8:53 AM, @Sanjiv Singh >> wrote: >> >>> Currently running with root directory configure as local directory. >>> >>> >>> hbase.rootdir >>> file:///usr/local/hbase/data/hbase >>> >>> >>> Regards >>> Sanjiv Singh >>> Mob : +091 9990-447-339 >>> >>> >>> On Thu, Aug 14, 2014 at 9:04 PM, Ted Yu wrote: >>> >>> > What hadoop version are you using ? >>> > >>> > This is related thread: >>> > http://search-hadoop.com/m/3NMzFay1Ha1 >>> > >>> > >>> > On Thu, Aug 14, 2014 at 7:16 AM, @Sanjiv Singh >> > >>> > wrote: >>> > >>> >> Hi All, >>> >> >>> >> I am new to Hbase. Started experimenting with Hbase. >>> >> I have downloaded source of stable branch hbase-0.98.5. >>> >> >>> >> Following doc for building hbase ... >>> >> http://hbase.apache.org/book.html#build >>> >> >>> >> When i tried to start Hbase with bin/start-hbase.sh ..getting below >>> error. >>> >> Please help me in finding the issue and possible root cause. >>> >> >>> >> >>> >> 2014-08-14 18:50:28,372 INFO [main] util.VersionInfo: HBase 0.98.5 >>> >> 2014-08-14 18:50:28,372 INFO [main] util.VersionInfo: Subversion >>> >> file:///home/impadmin/source-code/hbase-0.98.5 -r Unknown >>> >> 2014-08-14 18:50:28,372 INFO [main] util.VersionInfo: Compiled by >>> >> impadmin >>> >> on Thu Aug 14 18:48:47 IST 2014 >>> >> 2014-08-14 18:50:28,653 INFO [main] server.ZooKeeperServer: Server >>> >> environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 >>> 09:09 GMT >>> >> 2014-08-14 18:50:28,653 INFO [main] server.ZooKeeperServer: Server >>> >> environment:host.name=IMPETUS-NL147centos.impetus.co.in >>> >> 2014-08-14 18:50:28,653 INFO [main] server.ZooKeeperServer: Server >>> >> environment:java.version=1.7.0 >>> >> 2014-08-14 18:50:28,653 INFO [main] server.ZooKeeperServer: Server >>> >> environment:java.vendor=Oracle Corporation >>> >> 2014-08-14 18:50:28,653 INFO [main] server.ZooKeeperServer: Server >>> >> environment:java.home=/usr/java/jdk1.7.0/jre >>> >> 2014-08-14 18:50:28,653 INFO [main] server.ZooKeeperServer: Server >>> >> >>> >> >>> environment:java.class.path=/home/impadmin/source-code/hbase-0.98.5/bin/../conf:/usr/java/jdk1.7.0/$ >>> >> 2014-08-14 18:50:28,654 INFO [main] server.ZooKeeperServer: Server >>> >> >>> >> >>> environment:java.library.path=/usr/local/hadoop/hadoop-1.2.1/libexec/../lib/native/Linux-amd64-64 >>> >> 2014-08-14 18:50:28,654 INFO [main] server.ZooKeeperServer: Server >>> >> environment:java.io.tmpdir=/tmp >>> >> 2014-08-14 18:50:28,654 INFO [main] server.ZooKeeperServer: Server >>> >> environment:java.compiler= >>> >> 2014-08-14 18:50:28,654 INFO [main] server.ZooKeeperServer: Server >>> >> environment:os.name=Linux >>> >> 2014-08-14 18:50:28,654 INFO [main] server.ZooKeeperServer: Server >>> >> environment:os.arch=amd64 >>> >> 2014-08-14 18:50:28,654 INFO [main] server.ZooKeeperServer: Server >>> >> environment:os.version=2.6.32-358.el6.x86_64 >>> >> 2014-08-14 18:50:28,654 INFO [main] server.ZooKeeperServer: Server >>> >> environment:user.name=impadmin >>> >> 2014-08-14 18:50:28,654 INFO [main] server.ZooKeeperServer: Server >>> >> environment:user.home=/home/impadmin >>> >> 2014-08-14 18:50:28,654 INFO [main] server.ZooKeeperServer: Server >>> >> environment:user.dir=/home/impadmin/source-code/hbase-0.98.5/bin >>> >> 2014-08-14 18:50:28,702 INFO [main] server.ZooKeeperServer: Created >>> >> server >>> >> with tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 40000 >>> datadir >>> >> /tmp/hbase-impadm$ >>> >> 2014-08-14 18:50:28,734 INFO [main] server.NIOServerCnxnFactory: >>> binding >>> >> to port 0.0.0.0/0.0.0.0:2181 >>> >> 2014-08-14 18:50:28,927 INFO [NIOServerCxn.Factory: >>> 0.0.0.0/0.0.0.0:2181] >>> >> server.NIOServerCnxnFactory: Accepted socket connection from / >>> >> 127.0.0.1:40972 >>> >> 2014-08-14 18:50:28,944 INFO [NIOServerCxn.Factory: >>> 0.0.0.0/0.0.0.0:2181] >>> >> server.NIOServerCnxn: Processing stat command from /127.0.0.1:40972 >>> >> 2014-08-14 18:50:28,961 INFO [Thread-1] server.NIOServerCnxn: Stat >>> >> command >>> >> output >>> >> 2014-08-14 18:50:28,962 INFO [Thread-1] server.NIOServerCnxn: Closed >>> >> socket connection for client /127.0.0.1:40972 (no session >>> established for >>> >> client) >>> >> 2014-08-14 18:50:28,963 INFO [main] zookeeper.MiniZooKeeperCluster: >>> >> Started MiniZK Cluster and connect 1 ZK server on client port: 2181 >>> >> 2014-08-14 18:50:29,121 DEBUG [main] master.HMaster: master/ >>> >> IMPETUS-NL147centos.impetus.co.in/127.0.1.1:0 HConnection >>> >> server-to-server >>> >> retries=350 >>> >> 2014-08-14 18:50:29,314 INFO [main] ipc.RpcServer: master/ >>> >> IMPETUS-NL147centos.impetus.co.in/127.0.1.1:0: started 10 reader(s). >>> >> 2014-08-14 18:50:29,512 INFO [main] impl.MetricsConfig: loaded >>> properties >>> >> from hadoop-metrics2-hbase.properties >>> >> 2014-08-14 18:50:29,566 INFO [main] impl.MetricsSystemImpl: Scheduled >>> >> snapshot period at 10 second(s). >>> >> 2014-08-14 18:50:29,566 INFO [main] impl.MetricsSystemImpl: HBase >>> metrics >>> >> system started >>> >> 2014-08-14 18:50:30,021 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.(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:2794) >>> >> 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.(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 >>> >> >>> >> >>> org.apache.hadoop.hbase.security.User$SecureHadoopUser.isSecurityEnabled(User.java:349) >>> >> at >>> >> >>> >> >>> org.apache.hadoop.hbase.security.User$SecureHadoopUser.login(User.java:340) >>> >> at org.apache.hadoop.hbase.security.User.login(User.java:208) >>> >> at >>> >> >>> org.apache.hadoop.hbase.security.UserProvider.login(UserProvider.java:116) >>> >> at >>> org.apache.hadoop.hbase.master.HMaster.(HMaster.java:455) >>> >> at >>> >> >>> >> >>> org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.(HMasterCommandLine.java:258) >>> >> 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.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:525) >>> >> at >>> >> >>> >> >>> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:129) >>> >> ... 24 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.(JniBasedUnixGroupsMapping.java:49) >>> >> at >>> >> >>> >> >>> org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback.(JniBasedUnixGroupsMappingWithFallback.java:38) >>> >> ... 29 more >>> >> >>> >> >>> >> >>> >> Regards >>> >> Sanjiv Singh >>> >> Mob : +091 9990-447-339 >>> >> >>> > >>> > >>> >> >> > --001a11c34e2ea44a8e05010d13e1--