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 0DEEADEAD for ; Thu, 20 Sep 2012 11:44:46 +0000 (UTC) Received: (qmail 99933 invoked by uid 500); 20 Sep 2012 11:44:44 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 99743 invoked by uid 500); 20 Sep 2012 11:44:43 -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 99728 invoked by uid 99); 20 Sep 2012 11:44:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2012 11:44:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,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 monishsvce@gmail.com designates 74.125.82.51 as permitted sender) Received: from [74.125.82.51] (HELO mail-wg0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2012 11:44:34 +0000 Received: by wgbed3 with SMTP id ed3so1301192wgb.20 for ; Thu, 20 Sep 2012 04:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LMGJXVc3DO2xeAOf/nKCwCTV8lCHoEqhsUYx0+fEavQ=; b=NqFFzQvXT/ob7M4RqwG5kWoYcW3TOfRw3W/YDk0bFFt6dI1rrZVcO7jPLeHTjMnYhg hEHL35ACic1J3JI2NdE/ERxkvDqbqUNK/VnWfeKW9z4JiMIJaYFFj6hplEUWKsjAwYuu ao2krO6vOgK0rXJYeMgcR/N086Wc5q2UPsVn5z41QazZc1V4I/mGTqX0PkL6+r661t7A MA8egcmQNJRJUOXM/wux3S97QY/5iTdnzKwoh/aE+8H8Sic/SPl3uRPPLsnaqGYLjWX7 M8igZYvYnDoaKE+PxfF98c89BU9n67roiqB9+ew2onO6U7luPw3/uKs+08aCK/q8Tv0D kfcw== MIME-Version: 1.0 Received: by 10.216.85.149 with SMTP id u21mr946722wee.147.1348141453935; Thu, 20 Sep 2012 04:44:13 -0700 (PDT) Received: by 10.194.32.106 with HTTP; Thu, 20 Sep 2012 04:44:13 -0700 (PDT) In-Reply-To: References: Date: Thu, 20 Sep 2012 17:14:13 +0530 Message-ID: Subject: Re: Hbase Clustering From: Monish r To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=0016e6d6400678053f04ca20a4b9 --0016e6d6400678053f04ca20a4b9 Content-Type: text/plain; charset=ISO-8859-1 Hi, >From the *jps* status i can see that u have started region server in both the servers *NameNode:* 11578 HMaster 11476 HQuorumPeer 10921 TaskTracker 10246 NameNode 12430 Main 10746 JobTracker 12538 Jps 11798 *HRegionServer* 10618 SecondaryNameNode 10433 DataNode *DataNode:* 2202 NC 10772 Jps 10495 TaskTracker 2112 -- process information unavailable 10697 *HRegionServer* 10331 DataNode >From the log i can see that hbase master has only one region server in its list and it is not access able. 2012-09-18 23:59:13,841 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: No previous transition plan was found (or we are ignoring an existing plan) for -ROOT-,,0.70236052 so generated a random one; hri=-ROOT-,,0.70236052, src=, dest=localhost,60020,1347968702214; 1 *(online=1, exclude=0) available servers * 2012-09-18 23:59:13,841 INFO org.apache.hadoop.ipc.HBaseRPC: Server at *localhost/127.0.0.1:60020 could not be reached after 1 tries, giving up.* The problem may be with u r cluster set up , check the region server logs and see if they are alive , u cannot rely on jps and tell for sure the process is up , since it can go down after u r look up. Check u r region server logs , if u still have issues , post the region server logs in paste bin and reply. Regards, R.Monish * * On Thu, Sep 20, 2012 at 10:03 AM, Venkateswara Rao Dokku < dvrao.584@gmail.com> wrote: > > > On Tue, Sep 18, 2012 at 10:43 PM, Jean-Daniel Cryans wrote: > >> What's in the master's log? >> >> J-D >> Please find the attached master logs. >> >> On Tue, Sep 18, 2012 at 3:41 AM, Venkateswara Rao Dokku >> wrote: >> > Hi, >> > I am new to Hbase & I wanted to Cluster Hbase on 2 nodes. I put >> one >> > of my nodes as hadoop-namenodeas well as hbase-master & the other node >> as >> > hadoop-datanode1 as well as hbase-region-server1. I started hadoop >> cluster >> > as well as Hbase on the name-node side. They started fine. But when I >> try >> > to create tabes in Hbase shell I got the following error. >> > >> > hbase(main):001:0> create 't1','f1' >> > >> > ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 >> times >> > >> > Here is some help for this command: >> > Create table; pass table name, a dictionary of specifications per >> > column family, and optionally a dictionary of table configuration. >> > Dictionaries are described below in the GENERAL NOTES section. >> > Examples: >> > >> > hbase> create 't1', {NAME => 'f1', VERSIONS => 5} >> > hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'} >> > hbase> # The above in shorthand would be the following: >> > hbase> create 't1', 'f1', 'f2', 'f3' >> > hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000, >> > BLOCKCACHE => true} >> > hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']} >> > hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'} >> > >> > But I could see HMaster running with Jps. The below given are the >> processes >> > running on the name-node & datanode. >> > *NameNode:* >> > * >> > * >> > 11578 HMaster >> > 11476 HQuorumPeer >> > 10921 TaskTracker >> > 10246 NameNode >> > 12430 Main >> > 10746 JobTracker >> > 12538 Jps >> > 11798 HRegionServer >> > 10618 SecondaryNameNode >> > 10433 DataNode >> > >> > *DataNode:* >> > * >> > * >> > 2202 NC >> > 10772 Jps >> > 10495 TaskTracker >> > 2112 -- process information unavailable >> > 10697 HRegionServer >> > 10331 DataNode >> > >> > Could You please let me know whats wrong with my approach of creating >> > tables. Thanks for replying >> > >> > P.S: forgot to mention I am using hadoop-0.20.2 & hbase-0.92.1 >> versions. So >> > to avoid version mismatches I copied the hadoop Jar file in hadoop >> > installation directory into habse/lib/ in all the cluster nodes. >> > >> > >> > -- >> > Thanks & Regards, >> > >> > Venkateswara Rao Dokku >> > > > > -- > Thanks & Regards, > Venkateswara Rao Dokku, > Software Engineer,One Convergence Devices Pvt Ltd., > Jubille Hills,Hyderabad. > > --0016e6d6400678053f04ca20a4b9--