Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6E14D681 for ; Thu, 4 Oct 2012 13:21:06 +0000 (UTC) Received: (qmail 43511 invoked by uid 500); 4 Oct 2012 13:21:05 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 43193 invoked by uid 500); 4 Oct 2012 13:21:02 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 43167 invoked by uid 99); 4 Oct 2012 13:21:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2012 13:21:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.223.169] (HELO mail-ie0-f169.google.com) (209.85.223.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2012 13:20:53 +0000 Received: by mail-ie0-f169.google.com with SMTP id 10so1278878ied.14 for ; Thu, 04 Oct 2012 06:20:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=JKpgBlc2x4coBu8wcVtES3rwNO1hmqkOuMOoVlLB1xk=; b=a4Emf+JBYA8Od8PosCX01oNt6zUSuy0RfB1SN7/nMNx5Ex2XL15phmJ/vqeFWa0kjH kGVRBNBlvVdoUXDFTsiyFXwLt2nZlBCacvZo5Qg5Ja7WQtgxMe/ZojlA1z81cRs+x4Kg 4BXkMQk+R9li2uX6eEhooijY2UaHnNbhOyEjWmOYzVePtZuN9JL1yiOoxR4YL9tdDE2X +Pu/Gtfg5OwEomXXAdhwkVLiF6cyyxNkgBDj+naVqIuBudu/6yiCnQnMk3zv4sSTtewA uVGKr3mG95AlhA6FmRaJZUbSCC8SSIYCMa0lYyxvPvC1Y8uK/EN6q6T9X7zA7i9JZ8PE jmlg== MIME-Version: 1.0 Received: by 10.50.34.234 with SMTP id c10mr5175991igj.12.1349356832253; Thu, 04 Oct 2012 06:20:32 -0700 (PDT) Received: by 10.64.140.69 with HTTP; Thu, 4 Oct 2012 06:20:32 -0700 (PDT) In-Reply-To: References: Date: Thu, 4 Oct 2012 09:20:32 -0400 Message-ID: Subject: Re: Hbase cluster From: Jean-Marc Spaggiari To: user@hbase.apache.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnGxZNLQuj6F1M9TEacgzr9tfeG2AnidllisL6I87adNUTyjhbh3Niyl6cY27uO2WHXh7ny Hi Venkateswara, What do you have on your master's logs? Do you have anything? JM 2012/10/4, Venkateswara Rao Dokku : > Hi, > I configured 2 node hbase cluster with hadoop-0.20.2 & hbase 0.92.1. The > installation went fine. One is the namenode & the other will act asa > datanode as well as region server, from the region server I couldn't access > HMaster. I was getting the following error when I try to scan the tables on > the namenode > > hbase(main):001:0> list > TABLE > > > ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times > > Here is some help for this command: > List all tables in hbase. Optional regular expression parameter could > be used to filter the output. Examples: > > hbase> list > hbase> list 'abc.*' > > But when I see the processes running with jps command on name-node( master) > & datanode(slave) I got the following list > *namenode:* > * > * > 6367 NameNode > 6553 DataNode > 7473 HMaster > 7375 HQuorumPeer > 6866 JobTracker > 10391 Jps > 6764 SecondaryNameNode > 7041 TaskTracker > > *datanode:* > * > * > 15710 TaskTracker > 15556 DataNode > 13126 -- process information unavailable > 19259 Jps > 13218 NC > 15874 HRegionServer > > The following logs are logged into the hbase-region-server log file > 2012-10-04 18:26:17,692 INFO > org.apache.hadoop.hbase.regionserver.HRegionServer: Attempting connect to > Master server at oc-PowerEdge-R610,60000,1349337115099 > 2012-10-04 18:27:18,491 WARN > org.apache.hadoop.hbase.regionserver.HRegionServer: Unable to connect to > master. Retrying. Error was: > java.net.ConnectException: Connection refused > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > at > sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567) > at > org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) > at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404) > at > org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupConnection(HBaseClient.java:328) > at > org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:362) > at > org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1045) > at > org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:897) > at > org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:150) > at $Proxy7.getProtocolVersion(Unknown Source) > at > org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:183) > at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:303) > at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:280) > at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:332) > at > org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:236) > at > org.apache.hadoop.hbase.regionserver.HRegionServer.getMaster(HRegionServer.java:1643) > at > org.apache.hadoop.hbase.regionserver.HRegionServer.reportForDuty(HRegionServer.java:1680) > at > org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:643) > at java.lang.Thread.run(Thread.java:662) > I was struck here & couldn't get any help. Please help me out in rectifying > the error. > -- > Thanks & Regards, > Venkateswara Rao Dokku, > Software Engineer,One Convergence Devices Pvt Ltd., > Jubille Hills,Hyderabad. >