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 EF72110A83 for ; Fri, 3 May 2013 13:15:45 +0000 (UTC) Received: (qmail 92797 invoked by uid 500); 3 May 2013 13:15:43 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 92625 invoked by uid 500); 3 May 2013 13:15:42 -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 92487 invoked by uid 99); 3 May 2013 13:15:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 13:15:41 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yoursurrogategod@gmail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 13:15:37 +0000 Received: by mail-wi0-f175.google.com with SMTP id h11so592505wiv.8 for ; Fri, 03 May 2013 06:15:16 -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=kKMWLXaHiYo2WkHc0OSdpMrvug7PkhfaXMsMKCQThhE=; b=Ud5IBp0kkyiw4YBDVuNnz/I3dqyiUWKJx5LCLn96OnfIZCmic5gRpubVvdUl0+fEs0 5Ye6Xms05d8c6ZWxcrms88aFSEABA/vO5/7BzxMWJJUiWz68+SVi9W9HUbKXZaFfYUie +H9DH7l8NG7IyD31UlbeuKk7HOvPozuTBXsvlMluaGVbeUGkpW7io912OBJOQfMSAfaW SZ5ey27u1LIXa/FS7H4lHLAeVuANVwq9kpjyT37vzPyAH+uvfP1Uz+atERys1uxZMLbF RB3pZaAEG79SRVnCNYrxWTLcKOel9KSZneuz+1nc/jl3DP5IcLEi1TgVt9eMxkphYPxh i4pw== MIME-Version: 1.0 X-Received: by 10.194.93.133 with SMTP id cu5mr13728682wjb.56.1367586915990; Fri, 03 May 2013 06:15:15 -0700 (PDT) Received: by 10.194.26.101 with HTTP; Fri, 3 May 2013 06:15:15 -0700 (PDT) In-Reply-To: References: Date: Fri, 3 May 2013 09:15:15 -0400 Message-ID: Subject: Re: HBase is not running. From: "Yves S. Garret" To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=047d7bae46a453c49c04dbd024a5 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bae46a453c49c04dbd024a5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Awesome, thanks. I'll look into it. On Fri, May 3, 2013 at 6:52 AM, Mohammad Tariq wrote: > Yes..You can do that. I would suggest you to start fresh and setup a sing= le > node setup first. Once it is working fine, extending it to multiple > machines is just a matter of copying the config files. I have explained t= he > procedure here< > http://cloudfront.blogspot.in/2012/06/how-to-configure-habse-in-pseudo.ht= ml#.UYOWrkAW38s > >. > Try to follow this and hopefully you'll be able to do it properly. If you > further need any help let us know. > > Warm Regards, > Tariq > https://mtariq.jux.com/ > cloudfront.blogspot.com > > > On Fri, May 3, 2013 at 12:09 AM, Yves S. Garret > wrote: > > > Hi Tariq, can those two paths be one in the same? I'd like to just > > dump everything into one directory if that's possible. > > > > > > On Wed, May 1, 2013 at 10:15 PM, Mohammad Tariq > > wrote: > > > > > hbase.rootdir the directory HBase writes data to. I you are planning = to > > > have a distributed HBase setup then set this property to some a > directory > > > in your HDFS, like "hdfs://NN_MACHINE:9000/hbase". Otherwise point so= me > > dir > > > on your local FS. And for hbase.zookeper.property.dataDir, create a > > > separate dir outside your HBASE_HOME and as the value. > > > > > > Warm Regards, > > > Tariq > > > https://mtariq.jux.com/ > > > cloudfront.blogspot.com > > > > > > > > > On Thu, May 2, 2013 at 7:40 AM, Yves S. Garret > > > wrote: > > > > > > > One more little update. > > > > > > > > I ran this command in HBASE_HOME [ $ bin/start-hbase.sh ], > > > > using these configuration settings: > > > > http://bin.cakephp.org/view/1134614486 > > > > > > > > After I rand it, I checked > > > > $HBASE_HOME/logs/hbase-ysg-master-ysg.connect.log and > > > > this is what I saw: > > > > http://bin.cakephp.org/view/823736802 > > > > > > > > I hope that sheds some light for you guys. > > > > > > > > > > > > On Wed, May 1, 2013 at 10:04 PM, Yves S. Garret > > > > wrote: > > > > > > > > > Hi guys, one more question. > > > > > > > > > > I'm looking at this > > > link > > > > > in section 1.2.1 and where I have to modify > > > > > conf/hbase-site.xml, for parts hbase.rootdir and > > > > > hbase.zookeper.property.dataDir, to what should I set > hbase.rootdir? > > > > > At the moment, I have hbase.rootdir set to > > > > > /media/alternative-storage-do-not-touch/zookeeper. Is that fine? > > > > > Also, for hbase.zookeper.property.dataDir, I currently have it se= t > to > > > > > ${HBASE_HOME}/bin/hbase, does that make sense? > > > > > > > > > > I realize that some of these questions could be annoying, but I'd > > > > > like to make sure that I'm on the right track and don't screw > > > > > something up, getting a weird run-time error in the future :) . > > > > > > > > > > > > > > > On Wed, May 1, 2013 at 8:23 PM, Yves S. Garret < > > > > yoursurrogategod@gmail.com > > > > > > wrote: > > > > > > > > > >> Done. I'll go through the previously mentioned tutorial with > > > > >> this in mind. > > > > >> > > > > >> Thank you for your help. > > > > >> > > > > >> > > > > >> On Wed, May 1, 2013 at 4:39 PM, shashwat shriparv < > > > > >> dwivedishashwat@gmail.com> wrote: > > > > >> > > > > >>> Commment out everything in /etc/host file add 127.0.0.1 localho= st > > and > > > > >>> then try. > > > > >>> > > > > >>> > > > > >>> *Thanks & Regards * > > > > >>> > > > > >>> =E2=88=9E > > > > >>> Shashwat Shriparv > > > > >>> > > > > >>> > > > > >>> > > > > >>> On Thu, May 2, 2013 at 1:57 AM, Mohammad Tariq < > dontariq@gmail.com > > > > > > > >>> wrote: > > > > >>> > > > > >>> > Hello Yves, > > > > >>> > > > > > >>> > I think by that JM means that you should first make su= re > > > that > > > > >>> all > > > > >>> > you Hbase daemons are running fine. The webUI is a pretty > > > convenient > > > > >>> tool > > > > >>> > which allows you to monitor everything in a simpler way. If y= ou > > are > > > > >>> able to > > > > >>> > see the webUI properly, it means everything is in place and y= ou > > can > > > > >>> move > > > > >>> > ahead. You can then proceed with your shell exercises. > > > > >>> > > > > > >>> > Yes..It's the same tool JM was referring to. Do you still hav= e > > any > > > > >>> > problem?What do your logs say? > > > > >>> > > > > > >>> > Warm Regards, > > > > >>> > Tariq > > > > >>> > https://mtariq.jux.com/ > > > > >>> > cloudfront.blogspot.com > > > > >>> > > > > > >>> > > > > > >>> > On Thu, May 2, 2013 at 1:47 AM, Yves S. Garret > > > > >>> > wrote: > > > > >>> > > > > > >>> > > Ok, I spoke too soon. I tried going from Nutch to Hive... > not > > > > >>> supported > > > > >>> > > (but adding support to it sounds like a fun side-project :) > ). > > > > But, > > > > >>> I > > > > >>> > can > > > > >>> > > go to HBase. > > > > >>> > > > > > > >>> > > Jean-Marc, I do have a question for you. When you said tha= t > I > > > > should > > > > >>> > > get the UI going before anything else, what did you mean? > I'm > > > > >>> guessing > > > > >>> > > that this is the tool in question: > > > > >>> > > http://hbase.apache.org/book/trouble.tools.html > > > > >>> > > > > > > >>> > > > > > > >>> > > On Tue, Apr 30, 2013 at 7:50 AM, Jean-Marc Spaggiari < > > > > >>> > > jean-marc@spaggiari.org> wrote: > > > > >>> > > > > > > >>> > > > Hi Yves, > > > > >>> > > > > > > > >>> > > > Your host file looks good. > > > > >>> > > > > > > > >>> > > > Don't even try the shell until you get the UI displayed > > > correctly > > > > >>> and > > > > >>> > the > > > > >>> > > > server logs saying that initialization is done. > > > > >>> > > > > > > > >>> > > > So what do you have on the logs when you are trying with > this > > > new > > > > >>> host > > > > >>> > > > file? > > > > >>> > > > > > > > >>> > > > JM > > > > >>> > > > > > > > >>> > > > 2013/4/28 Asaf Mesika > > > > >>> > > > > > > > >>> > > > > Http://Devving.com has a good post on setting hosts fil= e > > for > > > > >>> stand > > > > >>> > > alone > > > > >>> > > > > hbase > > > > >>> > > > > > > > > >>> > > > > On Saturday, April 27, 2013, Yves S. Garret wrote: > > > > >>> > > > > > > > > >>> > > > > > Hi, but I don't understand what you mean. Did I miss= a > > > step > > > > >>> > > > > > in the tutorial? > > > > >>> > > > > > > > > > >>> > > > > > > > > > >>> > > > > > On Fri, Apr 26, 2013 at 4:26 PM, Leonid Fedotov < > > > > >>> > > > > lfedotov@hortonworks.com > > > > >>> > > > > > >wrote: > > > > >>> > > > > > > > > > >>> > > > > > > Looks like your zookeeper configuration is incorrec= t > 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 wha= t > 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 i= s > > 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 < > > yoursurrogategod@gmail.com > > > >: > > > > >>> > > > > > > >>> 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 request= ed > > > > >>> 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 < > > > yoursurrogategod@gmail.com > > > > >: > > > > >>> > > > > > > >>>>> My mistake. I thought I had all of those log= s. > > > 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, > > > > >>> > > > > > > >>>>>> > > > > >>> > > > > > > > > > > >>> > > > > > > > > >>> > > > > > > > >>> > > > > > > >>> > > > > > >>> > > > > >> > > > > >> > > > > > > > > > > > > > > > --047d7bae46a453c49c04dbd024a5--