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 9877210D0F for ; Fri, 26 Apr 2013 20:27:03 +0000 (UTC) Received: (qmail 44333 invoked by uid 500); 26 Apr 2013 20:27:01 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 44250 invoked by uid 500); 26 Apr 2013 20:27:01 -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 44236 invoked by uid 99); 26 Apr 2013 20:27:01 -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 20:27:01 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lfedotov@hortonworks.com designates 209.85.192.180 as permitted sender) Received: from [209.85.192.180] (HELO mail-pd0-f180.google.com) (209.85.192.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 20:26:56 +0000 Received: by mail-pd0-f180.google.com with SMTP id u10so2639854pdi.39 for ; Fri, 26 Apr 2013 13:26:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:mime-version:content-type:subject:date:in-reply-to :to:references:message-id:x-mailer:x-gm-message-state; bh=f/iHCKOGTIWwiVzPf02m6lac6GoRcbGb+4TecFvoHO8=; b=KT2Rx5/9/Wq4TjEIP5Y+tCxoqK2NAPWXAHS0WpmlfkT8M1W7CydryvDFWJ5MRxkoyg hK0cpqn8/C75gVbkJOEKyWqToJhzq8gP5G5W6NZDWR+LZZw8+03TnVz9C0V8jJkdvc5l Nl0VBm2jAJy4j3+Jwg2e9hm/GNqO0tnK0yFu9dmxnvlI58v2L4R9artbXpSx6y0Iq8oA HlSo3Kn6GilJgGgfUyXU0nEaY7QJMUSHO4sch73Z8MnILOllMbFkNmacZnWB+SmZ24bQ kkK2BePyCFt+o1yrPj6vf/1nMKHJaG40/h1oCCdfaoigNVAW9Avgktd4gPBL23RhL/xz iCYw== X-Received: by 10.66.251.101 with SMTP id zj5mr32558789pac.122.1367007996099; Fri, 26 Apr 2013 13:26:36 -0700 (PDT) Received: from [10.11.2.109] (host1.hortonworks.com. [70.35.59.2]) by mx.google.com with ESMTPSA id em2sm12968511pbb.0.2013.04.26.13.26.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 13:26:34 -0700 (PDT) From: Leonid Fedotov Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/alternative; boundary="Apple-Mail=_06C00776-BE2C-40E1-8025-C89040A9BBD7" Subject: Re: HBase is not running. Date: Fri, 26 Apr 2013 13:26:33 -0700 In-Reply-To: To: user@hbase.apache.org References: Message-Id: X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQlHr4KBK79MczTKLy7QcqL1jCkbgvH4345LWAqR3PrbHT0niQhRCYvm8LI4l6PyyjOqDtv5 X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_06C00776-BE2C-40E1-8025-C89040A9BBD7 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 Looks like your zookeeper configuration is incorrect in HBase. Check it out. Thank you! Sincerely, Leonid Fedotov Technical Support Engineer On Apr 26, 2013, at 9:59 AM, Yves S. Garret wrote: > 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? >>>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>> >>>> >> --Apple-Mail=_06C00776-BE2C-40E1-8025-C89040A9BBD7--