Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 40003 invoked from network); 14 Jul 2009 14:55:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jul 2009 14:55:12 -0000 Received: (qmail 39425 invoked by uid 500); 14 Jul 2009 14:55:21 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 39401 invoked by uid 500); 14 Jul 2009 14:55:21 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 39374 invoked by uid 99); 14 Jul 2009 14:55:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 14:55:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jdcryans@gmail.com designates 209.85.220.205 as permitted sender) Received: from [209.85.220.205] (HELO mail-fx0-f205.google.com) (209.85.220.205) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 14:55:08 +0000 Received: by fxm1 with SMTP id 1so1254539fxm.29 for ; Tue, 14 Jul 2009 07:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=MmgEqVztq2uhGFdSn1MFfYZ+BvPppcte6L+7tWm8QY0=; b=YProUUeAB7EVjd9EjHfisojfsXontKByvf3793sih/k1HjqeItUoro+Vf75lnqLKia wcFQZwOS2Gpn6ts48IEBlowqfcnq8uAQC21z2nwy0QxyKLoexI9qzbgrjikhdXxS0TcQ z3g+MrPYhkzYzhF+UyvBsOp7swslahP/K8aTc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=jvaptlIK34slsJ4jqAPNhEEBjIgt2I6rsrytt61Nw1Eo8x9qV4AMDXYGKuL06ZHu8D t55muJrC84fIvfH51pQ8il0wjfqCOb5cMTAe/y54zAeSSgEFiohxPgUjbZOTW04ECmA/ gNFl7xovK+5mDKZjlm/ijOcsBqSwEhSAWOEg8= MIME-Version: 1.0 Sender: jdcryans@gmail.com Received: by 10.223.126.69 with SMTP id b5mr3040930fas.34.1247583288521; Tue, 14 Jul 2009 07:54:48 -0700 (PDT) In-Reply-To: <63334b530907140751k6aabf063yd31f5ff4fcb90009@mail.gmail.com> References: <63334b530907140647g3edb93a1he434b405be7f256@mail.gmail.com> <2eef7bd70907140728x35d32727pbba21681e2902c94@mail.gmail.com> <63334b530907140735p506543c2o519ee31b50dffade@mail.gmail.com> <31a243e70907140744k6b537d97r8c5a679dd1d0cc7b@mail.gmail.com> <63334b530907140751k6aabf063yd31f5ff4fcb90009@mail.gmail.com> Date: Tue, 14 Jul 2009 10:54:48 -0400 X-Google-Sender-Auth: bd60d1e6461c6bc1 Message-ID: <31a243e70907140754h2f7ed2b3r13413b0a51436b2d@mail.gmail.com> Subject: Re: hbase connection issue From: Jean-Daniel Cryans To: hbase-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org If you did setup the Hadoop Distributed Filesystem (HDFS), then you can see its webui at http://127.0.0.1:50070. If you did not then you should not use the pseudo-distributed setup. I'm referring to this page btw http://hadoop.apache.org/hbase/docs/r0.19.3/api/overview-summary.h= tml#overview_description J-D On Tue, Jul 14, 2009 at 10:51 AM, Muhammad Mudassar w= rote: > how i can check Namenode > > > > On Tue, Jul 14, 2009 at 8:44 PM, Jean-Daniel Cryans = wrote: > >> Are you sure the Namenode is running? >> >> J-D >> >> On Tue, Jul 14, 2009 at 10:35 AM, Muhammad Mudassar >> wrote: >> > here is logs of master >> > >> > >> > >> > Tue Jul 14 20:28:20 PKST 2009 Starting master on mudassar-desktop >> > ulimit -n 1024 >> > 2009-07-14 20:28:20,458 INFO org.apache.hadoop.hbase.master.HMaster: >> > vmName=3DJava HotSpot(TM) Server VM, vmVendor=3DSun Microsystems Inc., >> > vmVersion=3D14.0-b16 >> > 2009-07-14 20:28:20,459 INFO org.apache.hadoop.hbase.master.HMaster: >> > vmInputArguments=3D[-Xmx1000m, -XX:+HeapDumpOnOutOfMemoryError, >> > -Dhbase.log.dir=3D/home/hadoop/Desktop/hbase-0.19.2/bin/../logs, >> > -Dhbase.log.file=3Dhbase-hadoop-master-mudassar-desktop.log, >> > -Dhbase.home.dir=3D/home/hadoop/Desktop/hbase-0.19.2/bin/.., >> > -Dhbase.id.str=3Dhadoop, -Dhbase.root.logger=3DINFO,DRFA, >> > >> -Djava.library.path=3D/home/hadoop/Desktop/hbase-0.19.2/bin/../lib/nativ= e/Linux-i386-32] >> > 2009-07-14 20:28:21,729 INFO org.apache.hadoop.ipc.Client: Retrying >> connect >> > to server: /127.0.0.1:60000. Already tried 0 time(s). >> > 2009-07-14 20:28:22,729 INFO org.apache.hadoop.ipc.Client: Retrying >> connect >> > to server: /127.0.0.1:60000. Already tried 1 time(s). >> > 2009-07-14 20:28:23,729 INFO org.apache.hadoop.ipc.Client: Retrying >> connect >> > to server: /127.0.0.1:60000. Already tried 2 time(s). >> > 2009-07-14 20:28:24,730 INFO org.apache.hadoop.ipc.Client: Retrying >> connect >> > to server: /127.0.0.1:60000. Already tried 3 time(s). >> > 2009-07-14 20:28:25,730 INFO org.apache.hadoop.ipc.Client: Retrying >> connect >> > to server: /127.0.0.1:60000. Already tried 4 time(s). >> > 2009-07-14 20:28:26,731 INFO org.apache.hadoop.ipc.Client: Retrying >> connect >> > to server: /127.0.0.1:60000. Already tried 5 time(s). >> > 2009-07-14 20:28:27,731 INFO org.apache.hadoop.ipc.Client: Retrying >> connect >> > to server: /127.0.0.1:60000. Already tried 6 time(s). >> > 2009-07-14 20:28:28,731 INFO org.apache.hadoop.ipc.Client: Retrying >> connect >> > to server: /127.0.0.1:60000. Already tried 7 time(s). >> > 2009-07-14 20:28:29,732 INFO org.apache.hadoop.ipc.Client: Retrying >> connect >> > to server: /127.0.0.1:60000. Already tried 8 time(s). >> > 2009-07-14 20:28:30,732 INFO org.apache.hadoop.ipc.Client: Retrying >> connect >> > to server: /127.0.0.1:60000. Already tried 9 time(s). >> > 2009-07-14 20:28:30,734 ERROR org.apache.hadoop.hbase.master.HMaster: = Can >> > not start master >> > java.net.ConnectException: Call to /127.0.0.1:60000 failed on connecti= on >> > exception: java.net.ConnectException: Connection refused >> > =A0 =A0at org.apache.hadoop.ipc.Client.wrapException(Client.java:724) >> > =A0 =A0at org.apache.hadoop.ipc.Client.call(Client.java:700) >> > =A0 =A0at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216) >> > =A0 =A0at $Proxy0.getProtocolVersion(Unknown Source) >> > =A0 =A0at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:348) >> > =A0 =A0at >> > org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:104) >> > =A0 =A0at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:176) >> > =A0 =A0at >> > >> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileS= ystem.java:75) >> > =A0 =A0at >> > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1367) >> > =A0 =A0at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:5= 6) >> > =A0 =A0at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:13= 79) >> > =A0 =A0at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:215) >> > =A0 =A0at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:120) >> > =A0 =A0at org.apache.hadoop.hbase.master.HMaster.(HMaster.java:1= 86) >> > =A0 =A0at org.apache.hadoop.hbase.master.HMaster.(HMaster.java:1= 56) >> > =A0 =A0at >> > >> org.apache.hadoop.hbase.LocalHBaseCluster.(LocalHBaseCluster.java:= 96) >> > =A0 =A0at >> > >> org.apache.hadoop.hbase.LocalHBaseCluster.(LocalHBaseCluster.java:= 78) >> > =A0 =A0at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1= 013) >> > =A0 =A0at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:105= 7) >> > Caused by: java.net.ConnectException: Connection refused >> > =A0 =A0at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) >> > =A0 =A0at >> > sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574) >> > =A0 =A0at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:100) >> > =A0 =A0at >> > org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:300= ) >> > =A0 =A0at >> org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:177) >> > =A0 =A0at org.apache.hadoop.ipc.Client.getConnection(Client.java:801) >> > =A0 =A0at org.apache.hadoop.ipc.Client.call(Client.java:686) >> > =A0 =A0... 17 more >> > >> > >> > >> > >> > >> > >> > >> > On Tue, Jul 14, 2009 at 8:28 PM, Vaibhav Puranik >> wrote: >> > >> >> Mhuhammad, >> >> >> >> Looks like your hbase master didn't start properly. You should check >> your >> >> master log. >> >> >> >> The master log will be in the logs directory. It will have more speci= fic >> >> exception that can help you to find the real problem. If you couldn't >> solve >> >> it, paste the exception in the log here so that we can help you. >> >> >> >> Regards, >> >> Vaibhav >> >> >> >> On Tue, Jul 14, 2009 at 6:47 AM, Muhammad Mudassar < >> mudassark7@gmail.com >> >> >wrote: >> >> >> >> > Hi, >> >> > >> >> > I am running hbase on single node and my hbase-site seetings are as >> >> > follows: >> >> > >> >> > >> >> > >> >> > =A0 >> >> > =A0 =A0hbase.rootdir >> >> > =A0 =A0hdfs://127.0.0.1:9000/hbase >> >> > =A0 =A0The directory shared by region servers. >> >> > =A0 =A0Should be fully-qualified to include the filesystem to use. >> >> > =A0 =A0E.g: hdfs://NAMENODE_SERVER:PORT/HBASE_ROOTDIR >> >> > =A0 =A0 >> >> > =A0 >> >> > =A0 =A0 >> >> > =A0 =A0hbase.master >> >> > =A0 =A0local >> >> > =A0 =A0The host and port that the HBase master runs at= . >> >> > =A0 =A0A value of 'local' runs the master and a regionserver in >> >> > =A0 =A0a single process. >> >> > =A0 =A0 >> >> > =A0 >> >> > >> >> > >> >> > >> >> > >> >> > After this when I created table in hbase shell it is saying trying = to >> >> > connect to the server like: >> >> > >> >> > 09/07/14 19:41:03 INFO ipc.HBaseClass: Retrying connect to server: >> >> > localhost/127.0.0.1:60000. Already tried 0 time(s). >> >> > 09/07/14 19:41:04 INFO ipc.HBaseClass: Retrying connect to server: >> >> > localhost/127.0.0.1:60000. Already tried 1 time(s). >> >> > 09/07/14 19:41:05 INFO ipc.HBaseClass: Retrying connect to server: >> >> > localhost/127.0.0.1:60000. Already tried 2 time(s). >> >> > NativeException: org.apache.hadoop.hbase.MasterNotRunningException: >> >> > localhost:60000 >> >> > =A0 =A0from org/apache/hadoop/hbase/client/HConnectionManager.java:= 239:in >> >> > `getMaster' >> >> > =A0 =A0from org/apache/hadoop/hbase/client/HBaseAdmin.java:70:in `<= init>' >> >> > =A0 =A0from sun/reflect/NativeConstructorAccessorImpl.java:-2:in >> >> `newInstance0' >> >> > =A0 =A0from sun/reflect/NativeConstructorAccessorImpl.java:39:in >> >> `newInstance' >> >> > =A0 =A0from sun/reflect/DelegatingConstructorAccessorImpl.java:27:i= n >> >> > `newInstance' >> >> > >> >> > >> >> > >> >> > I required help to solve out it! >> >> > >> >> > waiting >> >> > >> >> > >> >> > >> >> > Regards >> >> > >> >> > Muhammad Mudassar >> >> > >> >> >> > >> >