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 < > [email protected]> 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 <[email protected]>: >>> 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 < >>> [email protected]> 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 <[email protected]>: >>>>> 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 < >>>>> [email protected]> 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 <[email protected]>: >>>>>>> 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 >>>>>>> <[email protected]>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 < >>>>>>>> [email protected]> 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 <[email protected]>: >>>>>>>>>> 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 < >>>>>>>>>> [email protected]> 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 <[email protected]>: >>>>>>>>>>>> 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<enter> and having this run just >>>> fine. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Thu, Apr 25, 2013 at 1:23 PM, Jean-Marc Spaggiari < >>>>>>>>>>>> [email protected]> 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 <[email protected]>: >>>>>>>>>>>>>> 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 < >>>>>>>>>>>>>> [email protected]> 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 <[email protected]>: >>>>>>>>>>>>>>>> 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? >>>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>> >>>> >>
