This discussion continued in IRC, and <jdcryans> was able to help me
figure out my problem.
When I looked in the log files for HBase, i realized that it was not
able to connect to DFS.

Even though I was able to start DFS, i didn't bother checking the
logs, and it turns out that i was getting an "Incompatible
namespaceIDs" exception. I found the fix for it here
http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_%28Multi-Node_Cluster%29#java.io.IOException:_Incompatible_namespaceIDs

Then i connected to http://localhost:50070 to make sure that i had a
datanode running, and finally managed to get into HBase.

Thank you all for your help.

 - Pavel

2010/1/29 Stack <[email protected]>:
> Let us see.  Paste its content to pastie.org and post the link here (or on 
> irc).
> Thanks,
> St.Ack
>
> On Fri, Jan 29, 2010 at 10:55 AM, Pavel Gutin <[email protected]> wrote:
>> I just found that FAQ as well, but i still don't see any exception get
>> logged into that folder, just some info, and none of it seems useful.
>>
>> 2010/1/29 Stack <[email protected]>:
>>> On, how to enable verbose (DEBUG in our speak), see
>>> http://wiki.apache.org/hadoop/Hbase/FAQ#A5
>>> St.Ack
>>>
>>> On Fri, Jan 29, 2010 at 10:49 AM, Stack <[email protected]> wrote:
>>>> Where are you looking for hbase logs?   They are in $HBASE_HOME/logs.
>>>> St.Ack
>>>>
>>>> On Fri, Jan 29, 2010 at 9:48 AM, Pavel Gutin <[email protected]> wrote:
>>>>> My logs folder is empty. I can't seem to find anything to enable
>>>>> verbose logging.
>>>>>
>>>>> 2010/1/29 Jean-Daniel Cryans <[email protected]>:
>>>>>> If you don't want HBase to start a zookeeper by default, edit
>>>>>> conf/hbase-env.sh and look towards the end of the file for the right
>>>>>> configuration to use.
>>>>>>
>>>>>> To understand why the Master doesn't start, take a quick look at its
>>>>>> log you should see some obvious exceptions.
>>>>>>
>>>>>> J-D
>>>>>>
>>>>>> On Fri, Jan 29, 2010 at 9:37 AM, Pavel Gutin <[email protected]> 
>>>>>> wrote:
>>>>>>> But that's the port zookeepers is running on. I want HBase to use that
>>>>>>> instance of zookeeper, and not start its own.
>>>>>>> I tried changing the port in zoo.cfg, and HBase started with no error.
>>>>>>> But then it still gave a "NoMasterRunningException"
>>>>>>>
>>>>>>> 2010/1/29 Jean-Daniel Cryans <[email protected]>:
>>>>>>>> Something is already listening on the port Zookeeper is trying to
>>>>>>>> open. Make sure there's nothing listening on 2181, 2888 and 3888.
>>>>>>>>
>>>>>>>> J-D
>>>>>>>>
>>>>>>>> On Fri, Jan 29, 2010 at 9:18 AM, Pavel Gutin <[email protected]> 
>>>>>>>> wrote:
>>>>>>>>> I apologize if I am breaking some kind of list etiquette, but I've
>>>>>>>>> been struggling for the last week, and I have no idea where to ask for
>>>>>>>>> help.
>>>>>>>>>
>>>>>>>>> I got HBase to work on my virtual Ubuntu machine, but when i tried
>>>>>>>>> moving it to RedHat running on real hardware, it fails. I start up
>>>>>>>>> hadoop, then zookeeper and when i start HBase, i get the following
>>>>>>>>> error:
>>>>>>>>>
>>>>>>>>>>$ bin/start-hbase.sh
>>>>>>>>> localhost: starting zookeeper, logging to
>>>>>>>>> /usr/local/hadoop/hbase/bin/../logs/hbase-hadoop-zookeeper-fchadoop04.out
>>>>>>>>> localhost: java.net.BindException: Address already in use
>>>>>>>>> localhost:      at sun.nio.ch.Net.bind(Native Method)
>>>>>>>>> localhost:      at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown 
>>>>>>>>> Source)
>>>>>>>>> localhost:      at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
>>>>>>>>> localhost:      at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
>>>>>>>>> localhost:      at
>>>>>>>>> org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:140)
>>>>>>>>> localhost:      at
>>>>>>>>> org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:106)
>>>>>>>>> localhost:      at
>>>>>>>>> org.apache.hadoop.hbase.zookeeper.HQuorumPeer.runZKServer(HQuorumPeer.java:90)
>>>>>>>>> localhost:      at
>>>>>>>>> org.apache.hadoop.hbase.zookeeper.HQuorumPeer.main(HQuorumPeer.java:75)
>>>>>>>>> starting master, logging to
>>>>>>>>> /usr/local/hadoop/hbase/bin/../logs/hbase-hadoop-master-fchadoop04.out
>>>>>>>>> localhost: starting regionserver, logging to
>>>>>>>>> /usr/local/hadoop/hbase/bin/../logs/hbase-hadoop-regionserver-fchadoop04.out
>>>>>>>>>
>>>>>>>>> When I go into the shell after that, doing anything throws a
>>>>>>>>> "MasterNotRunningException"
>>>>>>>>>
>>>>>>>>> I would appreciate any help.
>>>>>>>>>
>>>>>>>>>  - Pavel
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Reply via email to