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 C4472D00A for ; Wed, 22 May 2013 19:46:34 +0000 (UTC) Received: (qmail 72395 invoked by uid 500); 22 May 2013 19:46:33 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 72322 invoked by uid 500); 22 May 2013 19:46:33 -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 72314 invoked by uid 99); 22 May 2013 19:46:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 19:46:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of javadba@gmail.com designates 209.85.212.53 as permitted sender) Received: from [209.85.212.53] (HELO mail-vb0-f53.google.com) (209.85.212.53) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 19:46:28 +0000 Received: by mail-vb0-f53.google.com with SMTP id p13so254155vbe.26 for ; Wed, 22 May 2013 12:46:07 -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=Rzphgteye4q5vh2Sp24XJxA7rzUPbgcb0t6Epx0s1pc=; b=r+oOaFnkqqIzvUcFUlyMRNzjgu8WXFSAl1lfWMBNSp2fLi4woLz5Kvop5tbBJoXjBm 4s4N0AcVFLYXjFIGaLr7ttK99Jd1XCGJ6tbue/ggrhWwCVjJW59kAJvGB9y0Yx3Mx6BX KNnj/r5yQOSt7RFQKsoSMcUYoevuntrRdsSWISiCloH/Bec+VZhAUaud5+KygMIBIo08 Q7zK3rn+PXpcsQg9L6u7ZQLpjnY+fSG6/GWgEVKzWZBpE//Ahf8NRjHP9munxKlZ/33B UCf8/uqX4KduMBPzoCCfPbDZAvN81fROXGPYdhP3nvvaZw8p+AxyLwx3Oz7Li8iIZjbH ftjA== MIME-Version: 1.0 X-Received: by 10.52.172.73 with SMTP id ba9mr2982351vdc.16.1369251967709; Wed, 22 May 2013 12:46:07 -0700 (PDT) Received: by 10.58.230.4 with HTTP; Wed, 22 May 2013 12:46:07 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 May 2013 12:46:07 -0700 Message-ID: Subject: Re: Simple but Reliable configuration for pseudo distributed mode on ubuntu From: Stephen Boesch To: user Content-Type: multipart/alternative; boundary=089e0160c9c024b7d104dd53d1c8 X-Virus-Checked: Checked by ClamAV on apache.org --089e0160c9c024b7d104dd53d1c8 Content-Type: text/plain; charset=ISO-8859-1 OK found the issue, it was the old ubuntu localhost anomaly of 127.0.1.1 vs 127.0.0.1 Changing /etc/hosts to use the latter fixed the issue Here is the quick start reference to it http://hbase.apache.org/book/quickstart.html Loopback IP HBase expects the loopback IP address to be 127.0.0.1. Ubuntu and some other distributions, for example, will default to 127.0.1.1 and this will cause problems for you. /etc/hosts should look something like this: 127.0.0.1 localhost 127.0.0.1 ubuntu.ubuntu-domain ub 2013/5/22 Stephen Boesch > > I have not been able to bring up a simple standalone hbase pseuo > distributed mode cluster on a single ubuntu 12.x machine. A couple of > co-workers that have been using hbase for years also looked at it and we > have not been able to resolve. > > Before I jump in to the details, i'll just say : "hey is there a pointer > to a well known configuration that just works?" I don't have any special > requirements beyond the following: > ubuntu 12.x > single machine pseudo distributed > preference for hbase 0.92.2 but not a showstopper for newer versions > apache (not cdh, etc) hadoop 1.X (version not important to me > beyond that) > > > Some more details on the setup: > > using hadoop 1.0.3 . HDFS and map/reduce been working fine for months > hbase 0.92.2 > zookeeper: have tried both hbase manages zk=true as well as false (and > with zk 3.3.6) > hdfs: using localhost:8020 > Launching hbase with start-hbase.sh > master comes up > regiion server comes up > region server shows as "region in transition" and never > completes/never starts serving regions > Appears that master does not register properly with ZK - though > there *is * a new /hbase/master node in zookeeper , it oes not have any > entries. > > > > > --089e0160c9c024b7d104dd53d1c8--