bigtop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Mackrory <mackror...@gmail.com>
Subject Re: Problem running HBase
Date Mon, 14 Apr 2014 21:02:16 GMT
You're welcome. I suspect the problem may have been trying to start the
RegionServer in stand-alone mode, when only the Master is run. It was
probably looking for something the Master would do if the Master was
running in distributed mode.


On Mon, Apr 14, 2014 at 2:58 PM, David Starina <david.starina@gmail.com>wrote:

> I have changed the configuration as you have advised (using localhost for
> hostname) (I have not modified the Zookeeper config). Got an error when
> restarting hbase-master, but after restarting the machine, it works!
>
> Thank you, your help is very much appreciated.
>
> Best regards,
> David
>
>
> On Mon, Apr 14, 2014 at 9:41 PM, Sean Mackrory <mackrorysd@gmail.com>wrote:
>
>> By default, HBase starts in a "standalone" mode which just involves one
>> daemon, and will not use an external instance of zookeeper. With no
>> configuration, this is started by just running 'service hbase-master
>> start'. I prefer to use turn on distributed mode and just run everything on
>> the same box. I usually just have this in hbase-site.xml:
>>
>> <configuration>
>>   <property>
>>     <name>hbase.cluster.distributed</name>
>>     <value>true</value>
>>   </property>
>>   <property>
>>     <name>hbase.rootdir</name>
>>     <value>hdfs://`hostname`:8020/hbase</value>
>>   </property>
>> </configuration>
>>
>> With this configuration, `service hbase-master start` and `server
>> hbase-regionserver start` you should get a usable service as long as
>> ZooKeeper is running on the local host as well. I've never run into the
>> 'zookeeper.znode.parent' problem, but this should at least allow you to add
>> other configuration tweaks if needed. Have you modified the Zookeeper
>> configuration in /etc/zookeeper/conf at all? For single node operation you
>> shouldn't need to. Just 'service zookeeper-server init' and 'service
>> zookeeper-server start' (and the former isn't strictly necessary, I think).
>>
>>
>> On Mon, Apr 14, 2014 at 1:25 PM, David Starina <david.starina@gmail.com>wrote:
>>
>>> Hi,
>>>
>>> I'm new to the Hadoop world. I have tried installing Hadoop + HBase +
>>> Zookeeper on a single node via Bigtop (in a virtual machine CentOS). I'm
>>> trying to create a table in HBase, and get the following error:
>>>
>>> client.HConnectionManager$HConnectionImplementation: Check the value
>>> configured in 'zookeeper.znode.parent'. There could be a mismatch with the
>>> one configured in the master.
>>>
>>> I checked the configuration in hbase-site.xml and it is empty. How
>>> should I configure it to run on a single node?
>>>
>>> Best regards,
>>> David Starina
>>>
>>
>>
>

Mime
View raw message