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 1C3EC106A2 for ; Fri, 26 Apr 2013 17:00:07 +0000 (UTC) Received: (qmail 17870 invoked by uid 500); 26 Apr 2013 17:00:04 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 17768 invoked by uid 500); 26 Apr 2013 17:00:04 -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 17757 invoked by uid 99); 26 Apr 2013 17:00:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 17:00:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yoursurrogategod@gmail.com designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-wi0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 16:59:59 +0000 Received: by mail-wi0-f172.google.com with SMTP id hm14so853855wib.11 for ; Fri, 26 Apr 2013 09:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=N1hdoiXHIUiyeL3bb8HLrbNc4KqSp9QltXT/SeEpfRw=; b=HM4yqJ5g6EWnBR4xh1aeH6f7FaovPlJZLWVXGmI87vi+0XorQQpWUuJH7OLwiIolWI kbW/RodwIdV4fsLJvd+4BXKwXziPCk+f+tiEckRoIZAKzivh3yF9NEf9h2wc2zgYxJ/q 4po7GrJF2LN0p044yzHab2Rj7OBRWVU7u9FCNRCRb+NZAyPBtsnYAI6SSgIxWr01ex1E QqaF2yzDeBD0ylVQDeceYKjJ3wri59gOlNHOJStQctr5vD7WIa2nqCBDsIh8Ue/bP9lO 7rm5h8nfBTK852fDXjlgf2nEZIUL4IokQP6gdtEsOnwsy/0L9i2q3UgzRzn/ur+9N45K zaAA== MIME-Version: 1.0 X-Received: by 10.180.95.106 with SMTP id dj10mr5369347wib.1.1366995578422; Fri, 26 Apr 2013 09:59:38 -0700 (PDT) Received: by 10.194.81.99 with HTTP; Fri, 26 Apr 2013 09:59:38 -0700 (PDT) In-Reply-To: References: Date: Fri, 26 Apr 2013 12:59:38 -0400 Message-ID: Subject: Re: HBase is not running. From: "Yves S. Garret" To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=f46d04428d92dc8e4404db4675af X-Virus-Checked: Checked by ClamAV on apache.org --f46d04428d92dc8e4404db4675af Content-Type: text/plain; charset=ISO-8859-1 Hi, thanks for your reply. I did [ hostname ] in my linux OS and this is what I have for a hostname [ ysg.connect ]. This is how my hosts file looks like. 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 127.0.0.1 localhost 192.168.1.6 ysg.connect ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 Now, I fired up the shell and this is the result that I got when I tried to execute [ create 'test', 'cf' ]. This is the error that I got: http://bin.cakephp.org/view/1016732333 The weird thing is that after starting the shell, executing that command, having that command error out and keep going and then exiting the command, I checked the logs and... nothing was displayed. It's as if nothing was stored. On Fri, Apr 26, 2013 at 7:12 AM, Jean-Marc Spaggiari < jean-marc@spaggiari.org> wrote: > Hi Yves, > > You need to add an entry with your host name and your local IP. > > As an example, here is mine: > > 127.0.0.1 localhost > 192.168.23.2 buldo > > My host name is buldo. > > JM > > 2013/4/25 Yves S. Garret : > > Hi Jean, this is my /etc/hosts. > > > > 127.0.0.1 localhost localhost.localdomain localhost4 > > localhost4.localdomain4 > > 127.0.0.1 localhost > > ::1 localhost localhost.localdomain localhost6 > > localhost6.localdomain6 > > > > > > On Thu, Apr 25, 2013 at 5:22 PM, Jean-Marc Spaggiari < > > jean-marc@spaggiari.org> wrote: > > > >> Hi Yves, > >> > >> You seems to have some network configuration issue with your > installation. > >> > >> "java.net.BindException: Cannot assign requested address" and > >> "ip72-215-225-9.at.at.cox.net/72.215.225.9:0" > >> > >> How is your host file configured? You need to have your host name > >> pointing to you local IP (and not 127.0.0.1). > >> > >> 2013/4/25 Yves S. Garret : > >> > My mistake. I thought I had all of those logs. This is what I > currently > >> > have: > >> > http://bin.cakephp.org/view/2112130549 > >> > > >> > I have $JAVA_HOME set to this: > >> > /usr/java/jdk1.7.0_17 > >> > I have extracted 0.94 and ran bin/start-hbase.sh > >> > > >> > Thanks for your help! > >> > > >> > > >> > > >> > On Thu, Apr 25, 2013 at 4:42 PM, Jean-Marc Spaggiari < > >> > jean-marc@spaggiari.org> wrote: > >> > > >> >> Hi Mohammad, > >> >> > >> >> He is running standalone, so no need to update the zookeeper qorum > yet. > >> >> > >> >> Yes, can you share the entire hbase-ysg-master-ysg.connect.log file? > >> >> Not just the first lines. Or what you sent is already all? > >> >> > >> >> So what have you done yet? Downloaded 0.94, extracted it, setup the > >> >> JAVA_HOME and ran bin/start-hbase.sh ? > >> >> > >> >> JMS > >> >> > >> >> 2013/4/25 Mohammad Tariq : > >> >> > Hello Yves, > >> >> > > >> >> > The log seems to be incomplete. Could you please the > complete > >> >> > logs?Have you set the "hbase.zookeeper.quorum "property properly?Is > >> your > >> >> > Hadoop running fine? > >> >> > > >> >> > Warm Regards, > >> >> > Tariq > >> >> > https://mtariq.jux.com/ > >> >> > cloudfront.blogspot.com > >> >> > > >> >> > > >> >> > On Fri, Apr 26, 2013 at 2:00 AM, Yves S. Garret > >> >> > wrote: > >> >> > > >> >> >> Hi again. I have 3 log files and only one of them had anything in > >> them, > >> >> >> here are the file names. I'm assuming that you're talking about > the > >> >> >> directory ${APACHE_HBASE_HOME}/logs, yes? > >> >> >> > >> >> >> Here are the file names: > >> >> >> -rw-rw-r--. 1 user user 12465 Apr 25 14:54 > >> >> hbase-ysg-master-ysg.connect.log > >> >> >> -rw-rw-r--. 1 user user 0 Apr 25 14:54 > >> >> hbase-ysg-master-ysg.connect.out > >> >> >> -rw-rw-r--. 1 user user 0 Apr 25 14:54 SecurityAuth.audit > >> >> >> > >> >> >> Also, to answer your question about the UI, I tried that URL (I'm > >> doing > >> >> all > >> >> >> of this on my laptop just to learn at the moment) and neither the > URL > >> >> nor > >> >> >> localhost:60010 worked. So, the answer to your question is that > the > >> UI > >> >> is > >> >> >> not showing up. This could be due to not being far along in the > >> >> tutorial, > >> >> >> perhaps? > >> >> >> > >> >> >> Thanks again! > >> >> >> > >> >> >> > >> >> >> On Thu, Apr 25, 2013 at 4:22 PM, Jean-Marc Spaggiari < > >> >> >> jean-marc@spaggiari.org> wrote: > >> >> >> > >> >> >> > There is no stupid question ;) > >> >> >> > > >> >> >> > Are the log truncated? Anything else after that? Or that's all > what > >> >> you > >> >> >> > have? > >> >> >> > > >> >> >> > For the UI, you can access it with > >> >> >> http://192.168.X.X:60010/master-status > >> >> >> > > >> >> >> > Replace the X with your own IP. You should see some information > >> about > >> >> >> > your HBase cluster (even in Standalone mode). > >> >> >> > > >> >> >> > JMS > >> >> >> > > >> >> >> > 2013/4/25 Yves S. Garret : > >> >> >> > > Here are the logs, what should I be looking for? Seems like > >> >> everything > >> >> >> > > is fine for the moment, no? > >> >> >> > > > >> >> >> > > http://bin.cakephp.org/view/2144893539 > >> >> >> > > > >> >> >> > > The web UI? What do you mean? Sorry if this is a stupid > >> question, > >> >> I'm > >> >> >> > > a Hadoop newb. > >> >> >> > > > >> >> >> > > On Thu, Apr 25, 2013 at 3:19 PM, Jean-Marc Spaggiari < > >> >> >> > > jean-marc@spaggiari.org> wrote: > >> >> >> > > > >> >> >> > >> Before trying the shell, can you look at the server logs and > >> see if > >> >> >> > >> everything is fine? > >> >> >> > >> > >> >> >> > >> Also, is the web UI working fine? > >> >> >> > >> > >> >> >> > >> 2013/4/25 Yves S. Garret : > >> >> >> > >> > Ok, spoke too soon :) . > >> >> >> > >> > > >> >> >> > >> > I ran this command [ create 'test', 'cf' ] and this is the > >> result > >> >> >> > that I > >> >> >> > >> > got: > >> >> >> > >> > http://bin.cakephp.org/view/168926019 > >> >> >> > >> > > >> >> >> > >> > This is after running help and having this run just > >> fine. > >> >> >> > >> > > >> >> >> > >> > > >> >> >> > >> > On Thu, Apr 25, 2013 at 1:23 PM, Jean-Marc Spaggiari < > >> >> >> > >> > jean-marc@spaggiari.org> wrote: > >> >> >> > >> > > >> >> >> > >> >> Hi Yves, > >> >> >> > >> >> > >> >> >> > >> >> 0.95.0 is a developer version. If you are starting with > >> HBase, I > >> >> >> will > >> >> >> > >> >> recommend you to choose a more stable version like > 0.94.6.1. > >> >> >> > >> >> > >> >> >> > >> >> Regarding the 3 choices you are listing below. > >> >> >> > >> >> 1) This one is HBase 0.95 running over Hadoop 1.0 > >> >> >> > >> >> 2) This one is HBase 0.95 running over Hadoop 2.0 > >> >> >> > >> >> 3) This one are the HBase source classes. > >> >> >> > >> >> > >> >> >> > >> >> Again, I think you are better to go with a stable version > for > >> >> the > >> >> >> > >> >> first steps: > >> >> http://www.bizdirusa.com/mirrors/apache/hbase/stable/ > >> >> >> > >> >> > >> >> >> > >> >> Would you mind to retry you tests with this version and > let > >> me > >> >> know > >> >> >> > if > >> >> >> > >> >> it's working better? > >> >> >> > >> >> > >> >> >> > >> >> JM > >> >> >> > >> >> > >> >> >> > >> >> 2013/4/25 Yves S. Garret : > >> >> >> > >> >> > Hi, I'm trying to run 0.95.0. > >> >> >> > >> >> > > >> >> >> > >> >> > I've tried both and nothing worked. > >> >> >> > >> >> > > >> >> >> > >> >> > I do have another question. When I go to download > hbase, I > >> >> get > >> >> >> the > >> >> >> > >> >> > following 3 choices: > >> >> >> > >> >> > > >> http://www.bizdirusa.com/mirrors/apache/hbase/hbase-0.95.0/ > >> >> >> > >> >> > > >> >> >> > >> >> > The 3 choices: > >> >> >> > >> >> > - hbase-0.95.0-hadoop1-bin.tar.gz (what I'm using) > >> >> >> > >> >> > - hbase-0.95.0-hadoop2-bin.tar.gz > >> >> >> > >> >> > - hbase-0.95.0-src.tar.gz > >> >> >> > >> >> > > >> >> >> > >> >> > Which of those should I download and work with? The > >> >> instructions > >> >> >> > >> >> > were somewhat vague on that and I think this might be > >> causing > >> >> me > >> >> >> > >> >> > some headaches in this process. > >> >> >> > >> >> > > >> >> >> > >> >> > By the way, thank you for your answer, very appreciated! > >> >> >> > >> >> > > >> >> >> > >> >> > > >> >> >> > >> >> > On Thu, Apr 25, 2013 at 1:00 PM, Jean-Marc Spaggiari < > >> >> >> > >> >> > jean-marc@spaggiari.org> wrote: > >> >> >> > >> >> > > >> >> >> > >> >> >> Hi Yves, > >> >> >> > >> >> >> > >> >> >> > >> >> >> Which version of HBase are you trying with? It should > be > >> >> working > >> >> >> > with > >> >> >> > >> >> Java > >> >> >> > >> >> >> 1.7. > >> >> >> > >> >> >> > >> >> >> > >> >> >> To start HBase, are you trying "bin/start-hbase.sh > start" > >> as > >> >> you > >> >> >> > said > >> >> >> > >> >> >> below? On only "bin/start-hbase.sh"? The later is the > >> correct > >> >> >> one > >> >> >> > >> >> >> while the former as an extra "start" not required at > the > >> end. > >> >> >> > >> >> >> > >> >> >> > >> >> >> JM > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> 2013/4/25 Yves S. Garret : > >> >> >> > >> >> >> > Hi all, > >> >> >> > >> >> >> > > >> >> >> > >> >> >> > I'm having an issue with getting HBase to run. I'm > >> >> following > >> >> >> > this > >> >> >> > >> >> >> tutorial: > >> >> >> > >> >> >> > http://hbase.apache.org/book.html#start_hbase > >> >> >> > >> >> >> > > >> >> >> > >> >> >> > When I run that command [ bin/start-hbase.sh start ], > >> >> nothing > >> >> >> > >> happens. > >> >> >> > >> >> >> At > >> >> >> > >> >> >> > all. > >> >> >> > >> >> >> > My question is why. I have Java 1.7 on this machine, > >> do I > >> >> >> > _need_ > >> >> >> > >> to > >> >> >> > >> >> get > >> >> >> > >> >> >> > 1.6? > >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> >> > >> > >> >> >> > > >> >> >> > >> >> > >> > --f46d04428d92dc8e4404db4675af--