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 DC97ADAE6 for ; Wed, 22 May 2013 21:10:35 +0000 (UTC) Received: (qmail 98903 invoked by uid 500); 22 May 2013 21:10:33 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 98814 invoked by uid 500); 22 May 2013 21:10: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 98806 invoked by uid 99); 22 May 2013 21:10:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 21:10: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 (nike.apache.org: domain of saint.ack@gmail.com designates 209.85.214.46 as permitted sender) Received: from [209.85.214.46] (HELO mail-bk0-f46.google.com) (209.85.214.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 21:10:27 +0000 Received: by mail-bk0-f46.google.com with SMTP id my13so1423865bkb.19 for ; Wed, 22 May 2013 14:10:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=zBrAK7xT6ST2mxawE3VC6vckCgonZ9phcR5Uyy4LmtU=; b=ToFco8fVfjoS+OK/5Frr1GBL5EWUBphkK6hgsAGmaxJV+kF2+DhV25u8rAMGo6wMkW zsKxJtZonX0FfCx6D1eHXc8jCnliTmxUF+tDxIazl3SRfGVhxxKu45MpRT0fqKIttIF7 R76gaIu4wq09hAsbc/3Ia3i5gJ4RUr8zrQHngEPufEpogGFL7rBYvluzhMr+bTE11lbo HnbNnItmHE+yMuFVGuw+kQAbLAulLqC94B6QPnf4uHZnk+4ybLY2NglfBsWCxjjqzAoj 17iJk5Mqn0NnFOM48/BQREulixZ3O2CfkQoRNDHsICwreYA/PwVus74jSe55uuedFfPg ZBhQ== MIME-Version: 1.0 X-Received: by 10.204.74.138 with SMTP id u10mr4990722bkj.113.1369257006961; Wed, 22 May 2013 14:10:06 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.204.37.134 with HTTP; Wed, 22 May 2013 14:10:06 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 May 2013 14:10:06 -0700 X-Google-Sender-Auth: Y6BCg-o2QyIEC5NxypyTitZwwoY Message-ID: Subject: Re: Simple but Reliable configuration for pseudo distributed mode on ubuntu From: Stack To: Hbase-User Content-Type: multipart/alternative; boundary=047d7bea3aa881d74004dd54fd41 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bea3aa881d74004dd54fd41 Content-Type: text/plain; charset=UTF-8 How could we improve the doc Stephen? Was the problem that it was only in the quick start section? Thanks. St.Ack On Wed, May 22, 2013 at 12:46 PM, Stephen Boesch wrote: > 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. > > > > > > > > > > > --047d7bea3aa881d74004dd54fd41--